Add null check for browser when in search mode (see #11611)
Fix context issue.
Merge pull request #1777 from jburel/unselectNode

Unselect node