How can i create a focus-remaining dialogue

Apr 2, 2009 at 7:55 AM

So user can interact with the newDialogue, and closed it  back to the parent page.

My problem is ,when the newDialogue is opened, it should always have the focus,
so that you cann't do other operation  until the dialogue is closed.