update dialog/alert.js