My suggestion to (easier) embed or link resources:
In Addition to the resource manager:
Add a checkbox "embedded" to the context strip.
if the checkbox is checked - the resource is embedded, otherwise the resource is linked.
Optionally add a checkable menuitem to the contextmenu of the resource: