Just an option that you can make a dialog a 'child' of another dialog. (If the main dialog closes, the child dialogs also closes, same as minimize and only have a close button). Take a look at the 'Scripts editor'-dialog, thats a child dialog of the main mIRC window.
/dialog -mdtsonkcvie
l name
[parent dialog] [table] [x y w h] [text]
If you use
-l then is the dialog what you create is a child of the
[parent dialog]-dialog.