this code runs in the owning page, so we could use a postMessage, but a straight callback is entirely possible. Personally prefer a callback function over a string trigger (easier to trace the code path when things go wrong).