Add sync-selection and sync-edit