added classes dialog to create new class