ild(opt);
      }

      let widgetContent = msg.widgetContent;
      contentNodeName.value = widgetContent.contentNodeName;
      previewPage.value = widgetContent.previewPage;

      // Hide the formatting section until a preview page has been selected
      let hasPreview = widgetContent.contentNodeName != null;
      showInitialUI(false, hasPreview);
      selectParentModal.style.display = "none";

      let keywordsFilename = document.getElementById('keywordsFilename');
      let keywordsName = documen