Fire an event when the image dialog is saved.
Change how we detect that an image has been inserted.