Attach your xml file or just post the script that you're using. It sounds like you're using the = style script. Some scripts have to use = and some don't. If you're using the = style script the first time it fires it creates a property for that object. That's why
we often just double any script that uses =. If you don't want to do that just add the property to the object so it's already created and you won't need to double the script.
Hmm, if that doesn't make any sense I can post some examples.
Since you're making click to cure buttons for a group window it's usually easiest to look at some examples to see how others have done it before. I have a Profit and Fetish folder in my UI folder to look at examples of different scripts.