Add markinvalid to embedded grid