Expose save-/restoreSelection()

This is handy if you're extending medium-editor (context menus, customized dialogs, etc...).