Deselect document when searching. [finishes #65130854]