Creating new row in a different model from within a drawer

I wrote a script to achieve this https://community.skuid.com/t/copy-add-selected-rows-within-a-drawer-from-one-model-to…