Thanks for replying.
I find that alternative more complicated for me since I wouldn’t know how to undo those functions when Fancybox closes.
I know I’d lose those changes when updating the plugin, but I wasn’t even able to add anything to the onStart and onClose since they’re within an array.
Spent hours searching and didn’t find any other alternatives.