Dash Leaflet: How to watch clickData of shape drawn with EditControl?

Hi there, i made a Dash Leaflet map with an EditControl.
For concreteness, let’s say i’ve used the same code as in the example at Dash but without the second map.
Now suppose the user has drawn some shapes on the map using that control.
How to to add a popup to any such shape when it’s clicked?

I’ve tried a callback with input the clickData property of the FeatureGroup, but that doesn’t trigger when the user click a shape.