As the OP has discovered, you only need perform a wheel mouse zoom and the close command will no longer work without first poping up a dialogue box, and for a standard macro there is no way to navigate a dialogue, by first saving too a temp file the original dwg is left intact (date and last author etc.) and the file can be closed without the need for any further clicks.