working var for hotkey_modal_key should be local