When the window is shown none of the controls will perform any actions and to close it you will need to press Altl-F4 or click on the close button.
Note that the window needs to be compiled on order to view it. If it is not compiled a warning message will be displayed.