confirm quit on Mac.

It is too easy to exit Emacs on Mac by Cmd+Q when you actually want Alt+Q.