Question about copy/paste bpmn element across multiple bpmn-js instances

I want to use this trick to copy element to other model, it works, but it will paste on all the models. So how to stop paste in not-active tab model? I am using bpmn-js in html web-page.