Clean up the search panel.