Lint dialog.js
Correct spelling typos