bugfixing for wysiwyg
dialog development (not completed)