Fixing adding images directly via TinyMCE image popup.
Fixing linting errors on tinymce popup integration code