attach es event to the inner modal iframe
fixes an issue where the modalTitle is not set correctly