improvements on LessonDialog storage
work goes on
update function does work