dialog template bug fixed