The menu should close when an item is clicked.