Use highlighted text in findDialog search.