I have a textarea in a React app, and I want to save selectionStart and selectionEnd so that when the textarea gets remounted, I can restore the cursor to the same position