Create class dialog is more robust.