Opening modal in trialogue story format

If you are requesting technical assistance with Twine, please specify:
Twine Version: 2
Story Format: Trialogue 0.0.7

Happy holidays everybody!

Just yesterday I discovered trialogue story format. I played around with it a little bit and it seems ideal for a usecase I have. There is just one thing I need to make sure can be accomplished:
There is a function for modal (like in this example, when you click the back arrow in top left corner).

I understand it is the

<a id="nav-link-back" class="content-container" href="/" data-toggle="modal" data-target="#exitModal" style="opacity: 1;"></a>

data-toggle attribute which opens the modal.

Can I achieve this without user interaction, like opening a the modal from within certain passages or when condition is met?

Thank you all!