dry the media insertion into the form fields on the media dialog