changed dialog template