Remember selection using selection.restoreOnly()