keep selection in text box, as it will be lost on focus-change