Edit/Delete validation.