cleanup teacher dashboard and edit lesson