stubbed out dialog.js