ADS Modal Dialog focus lock

https://atlassian.design/components/modal-dialog/code

The latest patch note on this component is “Modal Dialog’s focus lock now allows focus to reach elements outside the modal if they contain the data-atlas-extension attribute, such as a browser extension that renders in-browser.”

I’ve been trying to work out how we might use this to solve an issue we are having where if you integrate Intercom on a document where there is a Modal Dialog, the Intercom text input is not focusable because the Modal Dialog has a focus guard/lock.

Any insights would be welcome.