Im currently making a game. When the user clicks a menu item i have it open a new window which asks for a username, password, and has two buttons, cancel and connect. How can i have it be a modal window (I want the user to handle the window before focus is shifted back to the main window)?