Add HTAdialog.js and sample files.
Merge branch 'dialog'