Can't drag to copy parts after PropertyManagerPage is confirmed.

Hi all.

I made two Custom PropertyManagerPage one to save as parts and it works great and another one that open a model part and drawing and save them as a new code. the problem is I can't drag to copy parts in an Assembly after PropertyManagerPage is confirmed.

If I use the same PropertyManagerPage again and instead of confirming just cancel it it drag to copy returns to work.

Any Ideas on how to fix this? I try to call

swPropertyPage.Show();

swPropertyPage.Close(false);

but Soliworks crash after running the hole code, I don't know why but it didn't crash after swPropertyPage.Close(false);, it runs to it ends and then crashes.

SolidworksApi macros