After I run an action in my new panel, the priority is still with the html5 panel, and not the active image document open.
Lets say I click on the button on the panel that does an action, then I want to save so I hit command-s on the keyboard, well it won't save because command-s isn't an option because the panel is the active window. Is there a command I can insert into the photoshop.jsx function that will return the active window to the image document. I hope that makes sense. Here is a code snippet: