Hide Pop-up trigger not working properly

Hi there,
In Bricks 1.6 Beta, I’ve tried to remove an attribute when the pop-up close but it didn’t work as expected, for example, I have a class “anim-slide-left” and I’ve added it on (show pop-up) trigger, and on the opposite, I want to remove that class on the trigger (hide pop-up).
The class had been added successfully but on the (hide pop-up) trigger nothing happened.
Has anyone experienced something similar, and if so do you know how to solve it?