[mms] Fix image upload dialog in the HTML compose editor.