Added confirmation for leaving Attendance page when there are unsaved changes. Issue #10