Help with the DynamicComponents extension

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