Trigger Code when a Modal Popup Renders

I feel like I'm just about understanding, but I can't get it figured out. Is there any way to trigger code when a popup renders? Particularly a popup from a Calendar view. I'd like to move one of the text lines up to the top header which I think I could work out if I could find the right point to trigger it.

ie what's the equivalent to $(document).on('knack-records-render.view_xxx', ... for a modal?

Hi Dustin, we haven't documented this yet but you can listen for 'knack-modal-render'. A jquery modal element is passed as the argument.