import{useId as e}from"@gem-sdk/core";import{useState as o,useEffect as r}from"react";import{getOrCreateRootDialog as t}from"../common/helpers.js";let useModalContainer=()=>{let[m,a]=o(),l=e();return r(()=>{let e=t(`dialog-${l}`);a(e)},[l]),m};export{useModalContainer as default};
