Trying to get selection saving and restoring with operations.