Hide the search box if the current panel is not searchable