erflowModal.style.display = "none";
    }
    else if (event.target == selectParentModal) {
      selectParentModal.style.display = "none";
    }
  }

  function isGridLayout() {
    let layoutType = gridColumnsOrRows.value;
    return layoutType != "horizontal" && layoutType != "vertical";
  }

  function isHorizontalLayout() {
    return gridColumnsOrRows.value == "horizontal";
  }

  function isVerticalLayout() {
    return gridColumnsOrRows.value == "vertical";
  }

  function onClickSetParentFrame() {
