You have attempted to modify a palette definition which is referenced in the design.
Although many changes can be made to definitions, in this instance a conflict between the new definition, old definition and instances has occurred.
The usual problem is changing the save file of the definition, where the new save file does not actually refer to the definition, although the error dialog should give the reason for the conflict in this case.
See also: