dismiss advanced search window upon searching, not after