Used by the admin as a callback when a media file has been selected for insertion into the rich-text editor.
Todo
Extend documentation