yeah dialogs are a whole new window.
to learn dialogs. look at these two
http://www.hawkee.com/phpBB2/viewtopic.php?t=15134
http://www.hawkee.com/phpBB2/viewtopic.php?t=18214