Close search box on select