Add cssClass to DialogViews (thanks to Wulf Solter)