Confirm closing the program when files are modified.