Filter that adds dynamic css class to experience fragment
Hello,
I'm trying to implement a Filter that adds a css class into the div of ExperienceFragment. Everything works fine, until we change the ExperienceFragment (single one) via a cq:dialog. The IncludeOptions do not pass the css class.

(Sling filter activated properly and added the "footer" class on page refresh).
After editing single XF, like,

"footer" class is not applied.

I'm using sling sling.filter.scope = "COMPONENT" and sling.filter.resourceTypes pointing to "cq/experience-fragments/editor/components/experiencefragment".
Is there any other way to achieve that via a SlingFilter?
Thanks for any advice,
Kind regards,
Dymitr