Close the popup after the api call returns
Remove unused code
Merge pull request #1 from arbylee/close_popup_after_search

Close the popup after the api call returns