Create class selection dialog handler