UX behaviour for hiding search results on blur and selecting text on mouseup