Edit selection by ownerId function in Controller.