CRM Extention (Card) Primary Action

Im having an issue with the primary acction, when closing out of the iframe using the close highlighted below HS is retriggering the primary action call resulting in creation of duplicate records within our system.
Has anyone encounterd this before / know how to stop this from happening.

Hi, @AppDev :waving_hand: Thanks for reaching out. Hey, @himanshurauthan @klloyd__1, do you have any experience with what @AppDev is dealing with?

Thank you very much for taking a look!

Best,

Jaycee