Dashboard: Confirm on class deletion.

Restored by correcting a typo.
Merge pull request #677 from pteromys/dashboard

Dashboard: Confirm on class deletion.