enabled assertion for educator_create_new_lesson_spec and added close_modal method