keeping popup on top -and focus on specific field
Our site uses popups to handle certain requests (e.g., delete, move or rename a file from a list). So that users do not accidentally "lose" the window --e.g., by accidentally clicking outside it-- before they've finished their request, I'm forcing these popup windows to stay on top. (Of course, there is a convenient "Cancel" button for closing the window if it was opened by mistake.)
For some it is a simple matter of adding "onBlur="self.focus()" in the body tag. But in other cases the popup already includes an onLoad function that places the focus in the first form field in the window. Adding the "onBlur" above overrides this. Any ideas on how I can force the popup to stay on top yet continue to have the popup open up with focus in a specific field/element?