Added flag to the courses add/edit form