Hide advanced search UI when search is executed

fixes #1245 on github
Merge pull request #1252 from steventlamb/bug/1245_retract_advanced_search

Hide advanced search UI when search is executed