    selectParentModal.style.display = "block";
    parent.postMessage({ pluginMessage: {
      msg: 'set-parent-frame',
    }}, '*');
  }

  function onClickLayoutButton() {
    formatTab = "layout";
    gridSpacingSection.style.display = 'none';
    gridLayoutSection.style.display = isGridLayout() ? 'block' : 'none';
    autoLayoutSection.style.display = isGridLayout() ? 'none' : 'flex';

    let layoutButton = document.getElementById('layoutButton')
    let spacingButton = document.getElementById('spacing