Change edit alert condition button name
Only check extractor's substring indices on try

Currently we validate substring indices when they change, so the user is
not able to change the begin index value until the end index is
modified, which is confusing.
Escape extractor preview message

jQuery will interpret code included in the message otherwise.
Fixes #833.