This is now in `SearchResults.hideResults()` and replaced in `FindInFiles.hideResults()` to add the removeListeners part. Eventually we will not need to overwrite it.