update dialog.html