Can you sort that, right most window would have "cancel all replace", or something. One forgets to check 'Selection' and gets stuck, can't do anything but kill program.
Possible way out would be adding 'ignore sql error' check, default on.
Note - the message on screen comes from trigger ...