Don't use an alert. Generate the success message when creating a lesson. (see [[Lesson Pages Structure]]