add class to dialog template