For example if you have a script editor open, you have to click close. I'm used to the ESC key to close the active dialog box.