hide search after selecting item