The window automatically hides when it loses focus or when clicking outside. This is the traditional behavior for tray popup windows.