Ensure menu is closed following a selection