add autoclose hotkey