do not close more_functions menu when missing a menu item link

When a user misses a menu_item in the more_functions menu (e.g. because of accessability reasons) the menu was closed. this is annoying and fixed with this pull request. :sunglasses: