Bug 1036671 - Fix the search window crash
Merge pull request #21685 from alivedise/bugzilla/1036671/search-window-is-not-destroyed

Bug 1036671 - Fix the search window crash, r=etienne