Hide advanced search UI when search is executed

fixes #1245 on github