We don't need to check this since these listeners are only registered while the panel is visible (FindInFilesUI calls `FindInFiles.clearSearch()`, which removes the listeners, whenever the panel closes).