Added search box escape behavior