bug fix in JS error when you click in the dialog "Insert image ", " Close" button. bugid:112363