attempted to close active document via keyboard input