Added wait-dialog.js file