Change the behavior of 'close-on-mac