source-pane: cleanup workflow for enable/disable search.