implement functionality behind the Paste menu items when pasting from a parent (proc pasted into docversion, section into proc, etc)