Is there a way (or a scheme) to do child windows? So I'd have a main window with buttons which open new windows. They would all be based on the first one, so if it is closed, they all are closed.
http://www.unifycommunity.com/wiki/index.php?title=PauseMenu
He does it there.
Check out his script, you can easily edit it =).
Good luck!