## Image
```js
let caption = null;
console.log('onSave', caption)}
close={() => console.log('close')}
i18n={util.i18n}
/>
;
```
## Image with caption
```js
let caption =
"This is the user-provided caption. We show it overlaid on the image. If it's really long, then it wraps, but it doesn't get too close to the edges of the image.";
console.log('onSave', caption)}
close={() => console.log('close')}
i18n={util.i18n}
/>
;
```
## Video
```js
let caption = null;
console.log('onSave', caption)}
close={() => console.log('close')}
i18n={util.i18n}
/>
;
```
## Video with caption
```js
let caption =
"This is the user-provided caption. We show it overlaid on the image. If it's really long, then it wraps, but it doesn't get too close to the edges of the image.";
console.log('onSave', caption)}
close={() => console.log('close')}
i18n={util.i18n}
/>
;
```