Refactored a bit, made the enroll course dialog modal, and also moved it out of the CourseListViewController class into its own file.