added dialogBox.js