finished deleting teachers on undo stack