Javascript interaction hand-off to become dynamic


I am creating a very small application for a client.
After exporting the application I handed it over to a freelance developer. Besides saying the project was nicely coded, yay!, he asked me if I could fix a tiny problem.

Can you please look at the page “gebruikers aanmaken”.

Now … You can see I created a modal dialog asking the user for confirmation.
My developer told me he had a little bit of a problem with that modal dialog because it gets triggered by the same interaction every time and this way he is not able to properly use this modal in a dynamic setting.

I think I read something about custom attributes and that this is a way to make interactions usable?
Could someone explain me a little bit how this works and if this is a solution?

Thanks a lot!

You could just simply remove the interaction and let your dev implement their own JavaScript trigger.