An interesting — yet not too uncommon — UI/UX problem is to allow users to delete stuff, but prevent them from accidentally deleting things. There are several typical approaches:
Just let users delete
Ouch. Obviously this is the problem we’re trying to solve here. NOT a solution.