Update dialog1.js