"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),React=require("react"),helpers=require("../common/helpers.js");const useModalContainer=()=>{let[e,r]=React.useState(),t=core.useId();return React.useEffect(()=>{let e=helpers.getOrCreateRootDialog(`dialog-${t}`);r(e)},[t]),e};exports.default=useModalContainer;
