WIKI-937 Change WikiPortlet mode to 'EDIT' before feeding data for WYSIWYG editor