Click outside search closes