Add modal to partial, update CodeLesson validation