change the close behavior only with cmd-w