create course modal working