Question before I go down this Troubleshooting rabbit hole

And as you’ve found you cannot do using this method.

You cannot invoke the framework, via “iframe trigger” which is your current method.

These would need to be in the main HTML not loaded secondarily

Which is what I do in my character sheet extension.

So everything needs to be in the main HTML