Fix issue #42, search for selected text when search window is already open.