created html_editor_dialog feature and fixed some bugs