What is the Best Practice of Managing of the Time Dilation?

I need to slow down time on a Gameplay Ability. You can think like it is a super power.

I’m using Set Global Time Dilation and Set Custom Time Dilation functions for this, but they are difficult to manage. Because, for example, when I open a menu, I slow down the time, when I close the menu, I restore the time again and a conflict occurs. I’m talking about this kind of management challenge.

I was wondering if I could make this a Gameplay Effect but I haven’t figured it out yet. Is there anyone have an idea?