Added block getting executed before closing the menu
Merge pull request #59 from maremmle/master

Added block getting executed before closing the menu