#58 Also prevents shortcut action if popup is also visible