Match the friction to the risk. Reversible actions get undo; irreversible ones get a deliberate confirm.
Press and hold for a second. Works with mouse, touch, Space and Enter.
The button swaps to a confirm step in place.
For the scariest actions.
Do it now, offer a way back.