Added prompt for leaving and article when there are unsaved changes.