add confirmation to classes page