Describe your motivation
When editing a dashboard sometimes a user clicks on the widget's X icon accidentally and then they have to recreate the widget which can be frustrating.
Describe the solution you'd like
It would be nice to have the possibility to add a confirmation dialog before removing, like the typical "Please confirm. Are you sure you want to remove this widget? Yes/No".
Describe alternatives you've considered
An alternative would be to reload the dashboard without saving the changes (undo) but that would mean all changes are lost.
Additional context
No response