prevent closed cases from being edited.