Illegal

or non-conforming

?
I agree that Sigil should allow a Save (as) in a error state because you might want to do a second try at a second pass replace. (The first pass may only replace the opening tag. Pass 2 will complete the task, when a 1 shot replace just won't do)