The menu closes when an item is selected.