Typing Escape in a submenu closes all parent menus as well.
added missing return
Merge pull request #349 from andrewkaufman/escapeClosesMenus

Typing Escape in a submenu closes all parent menus as well.