Made changes to exit button in file menu to check if saved