After editing the watch expr, update the attribute holding the expr
switch to prop() instead of attr() for toggling the disabled setting

The jQuery docs suggest it
When editing a watch expr, escape will cancel the edit
Use a modal dialog for program termination

It presents an option for exiting the debugged process