This function will be called when the Save item of the File menu is selected by the user. If file-menu:save is #f, rather than a procedure, the Save menu item will not be added to the menu.
This saves the wx:media-edit% that is returned by get-edit for this frame.