Detect gateway click BPMN EDITOR

Hello, i actually search a solution to detect the click of a gateway, indeed i would like to assign to my gateways, a data table, and allow user to fill it, only when the user click on it.

Furthermore i want to add my data table in my XML as a custom element. (i already tried the custom element module of BPMN.io and nothing was working).

Thanks !

Please don’t ask the same question twice.