Offer to save modified files when navigating to a different file