Help with the DynamicComponents extension

I need help with this extension because it is very useful, however, it is complicated to use, well, but what I want is to know how to define a function where a given button deletes a set of components, for example, a list application of tasks, where in this application there is an arrangement for a caption and a button, the caption contains the text of the task and the button is used to delete this particular task, but I want each task to have this button, the problem is that the button I would have to specifically delete the arrangement where it is located and that's where I I have the problem, how do I make the button delete only the arrangement where it is?

You can use this extension,
You can remove a buttons's parent ('s parent) when a button is clicked.

Basic usage:
GIF 2025-1-13 9-48-55