Implement modify element action.