Alert Dialog for assigning lessons to Students