update Dialog.html to AMD, refs #14279