Destruction operations, i.e. deleting things, should have the User confirm the action.
We used to use window.confirm(..) however this is blocked by VSCode and was removed.
We should consider adding a PF Modal to gain Users confirmation. This however needs to be completed when we move away from Modals for DataDictionary, MiningSchema and Outputs.