Close all other menus before opening the Stash menu

Fixes #746