Overwrite remove action

How can I modify the behavior of the action associated with the remove button of the entity browser ?, that is to say that I show the dialog as it does now, at the moment of giving Ok, delete the registry and proceed with other operations that I need to do.

The above would be option 1, option 2 is to use an entity listener, for the best practices that recommend me?

Regards,
Nelson F

Hi Nelson,

Please see my answer here and the discussion around it.

Also see the documentation on how to use AfterRemoveHandler to execute actions after successful removal.

thx Konstantin.