Fixes #5436: Add warning to delete buttons