How can i create a focus-remaining dialogue

Apr 2, 2009 at 6:55 AM
 
newDialogue.showDialogue();

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.

Thanks