[Fixes#77375796] Fixes bug where toggling search panel fired a search