Add dialog box and adjust HTML code as UTF-8