Cal. Welf. & Inst. Code § 366.29
(c) Upon the granting of the adoption petition and the issuing of the order of adoption of a child who is a dependent of the juvenile court, the jurisdiction of the juvenile court with respect to the dependency proceedings of that child shall be terminated. Nonetheless, the court granting the petition of adoption shall maintain jurisdiction over the child for enforcement of the postadoption contact agreement. The court may only order compliance with the postadoption contact agreement upon a finding of both of the following: