Dashboard: Confirm on class deletion.

Restored by correcting a typo. Hopefully this isn't too controversial.