fix inserting images to TinyMCE within portlet dialog