Fix cancel button in save_as on exit