Makes sure it closes after selecting an option via keyboard