How to launch confirmation confirmation when deleting a task. if you agree to delete it otherwise avoid elimination

how to launch confirmation confirmation when deleting a task.
if you agree to delete it otherwise avoid elimination

please help me!

You would have to create a custom ContextPadProvider and override the remove element functionality by adding such a confirmation interaction.