Closing expanded query box on search.