How to close a dynamically created tab

Hi all,
i’m quite new with dash. I’m creating my dashboard to access data from a db.
All is great and i’m using dash bootstrap components.

In particular for each row selection of a dash_table I add a new tab with element details. That’s fine.

What I’m having no idea is how to implement a closing x (or workaround) for closing these tabs.
There’s no predefined x button for closing it right?
What would you suggest?