to enable the dialog hotkey