Fundamentally you're likely to need a communication channel that uses window.postMessage() to talk between iframes.
I believe @MaxZieb's Hype Global Behavior extension uses this and might be able to be used for such a thing and then you can setup actions via Hype's Custom Behaviors. That's probably the route I would try first.