save selection on html region blur, restore when needing to perform replacements.