Put getHtml method back in dialog file

External get-html.js file isn't loading on the server for some reason