[UI][CORE] fixed wrong behavior with prev/next buttons/keys in viewer, ...
[UI] hide viewer, if visible, when searching location