Identical Component Reference Pop Up when using CompConfigProperties5

I've got a macro that is adding and configuring components in an assembly.

The problem is I am getting a pop up when I call 2018 SOLIDWORKS API Help - CompConfigProperties5 Method (IAssemblyDoc) 

I would like the Component Reference to be the same for the component no matter what configuration is chosen.

Bizarrely hitting No gives me the outcome I want- it keeps the same Component Ref that already existed.

Hitting Yes removes the reference, so I'm not really sure what's going on.

But the biggest thing is I don't want any user interaction and would like this to run interrupted.

Is there a way around this, or should I look at using different methods to set the referenced config, suppression state et al?

SolidworksApi/macros