We weren't checking whether the form closed because the menu was activated or because the user hit Escape