Call service when more info is shown and hidden

Hello!

I wonder if there’s a way to call a service when the more info of a card is shown and also when it is closed.
I’m aware of tap_action, but it seems to only allow for one action to be called.
What I’d need is a way to have both more-info and call-service actions to be taken on_tap. And furthermore it would also be helpful to be able to call a service when the more info dialog is closed.

If this is not possible with the default cards would a custom card be the way to go?

Thanks!