fixed bug where error is thrown when hotkey is pressed and observation form is already visible