Creates an overlay modal dialog which lets the user upload a single file via the upload API.
Optional
Callback to run after a successful upload.
Callback to run after a failed upload (does not run if modal is closed).
Creates an overlay modal dialog which lets the user upload a single file via the upload API.