This is a modal window
What about this modal window. Click anywhere on the screen.
It is not as much powerful as modal window in OS, but it' works well.
What's your name? Fill the following form.
Click the following OK or cancel button,
then the previous page can get a return value, your name.