- tweaked how html is loaded into dialog box