Except as otherwise permitted by statute or federal rule, no action by or on
behalf of a minor or incompetent shall be dismissed, discontinued, or terminated
without court approval. When required by state law, court approval shall also be
obtained from the appropriate state court having jurisdiction over such matters for
any settlement or other disposition of litigation involving a minor or incompetent.