Looks like things aren't being initialized correctly in the second modal window. Disabling 'related_modal_active' and falling back to the normal window-based approach works fine, but I would prefer ...