Added hook to "insertImageDialog", will add correct functionality later.