What X modal are you referring? It's possible by calling the click event of the toggle, like
Though, I'm not really sure which element will trigger it, and what toggle. There is no integration as it's not initially made for that. I recommend providing a sample URL that has this toggle and trigger button, I can provide a single line snippet that you could use and enhance. But please note that it's just to help you get started, and we can't provided all enhances and customization.