When I embed a draw.io diagram by uploading an XML file from my computer, the toolbar allows users to go straight from the confluence page to editing the diagram, by clicking this pencil button.

When I embed a draw.io diagram by selecting it from "Recent Diagrams" (stuff I have uploaded previously), this edit button is replaced with "Go to containing Page" - which takes me to a list that is completely empty.

How do I get the embedded diagram to always show the Edit button? I want users to be able to edit these diagrams from the page.