searching to a remote location works

need to fix the focus after finsihed typing.