Understanding modifier keys (combinations) when using CAGs

Hi everyone,

I'm trying to understand how to create a touch bar group that works for ALL apps when I press the modifier keys. I managed to do it for CTRL and OPTION by creating a conditional activation group and setting "customVariable1 is not controlMenuOff" and "customVariable2 is not optionMenuOff" - that's how I saw it works in the GoldenChaos preset. But I still don't really understand it, and I tried to do the same for CTRL + OPTION, but it always made my global widgets disappear.

Can anyone explain how I could control this better, and add more CAGs for other combinations of modifier keys?