Added unsaved changes check and dialog