Tracking a Modal Event

Is it possible to track Modal events with Matomo? I am using a plugin that lists a bunch of properties and when a property is clicked on, it opens a modal that displays the property information and so on. I would like to be able to track that. The pages themselves are index able and can be opened in a new tab (which of course is tracking just fine)

Thank you