change the default button of the closing confirmation window