Setting 
Add the validation before save/delete or setting