Added ask before exiting.