Cleanup
Added unescape tag
Trigger dialog-submit event before form submission (needed for ckeditor)