                  # Elevate global to root
                  key = plugin if sect == "global" else f"{plugin}|{category}|{sect}"
                  retval[key] = dict(helptext=None, options=OrderedDict())
  
                  for option, params in conf.defaults[section].items():
                      if option == "helptext":
                          retval[key]["helptext"] = params
                          continue
                      initial_value = conf.config_dict[option]
                      initial_value = "none" if initial_value is None else initial_value
                      if params["type"] == list and isinstance(initial_value, list):
                          # Split multi-select lists into space separated strings for tk variables
                          initial_value = " ".join(initial_value)
 
</s> remove                     if params["type"] == list and isinstance(initial_value, list):
 </s> add                     if params.datatype == list and isinstance(initial_value, list): </s> remove                         dtype=params["type"],
                        group=params["group"],
                        default=params["default"],
 </s> add                         dtype=params.datatype,
                        group=params.group,
                        default=params.default, </s> remove         for sect in sections + [self.section]:
 </s> add         all_sections = sections if self.section is None else sections + [self.section]
        for sect in all_sections: </s> remove         sections.append(self.section)
 </s> add         if self.section is not None:
            sections.append(self.section) </s> remove         for section, items in config.defaults.items():
            logger.debug("Adding section: '%s')", section)
            config.insert_config_section(section, items["helptext"], config=new_config)
            for item, options in items.items():
                if item == "helptext":
                    continue
                if page_only and section != lookup:
                    # Keep existing values for pages we are not updating
                    new_opt = config.get(section, item)
                    logger.debug("Retain existing value '%s' for %s",
                                 new_opt, ".".join([section, item]))
                else:
                    # Get currently selected value
                    key = category
                    if section != "global":
                        key += f"|{section.replace('.', '|')}"
                    new_opt = self._config_cpanel_dict[key]["options"][item].get()
                    logger.debug("Updating value to '%s' for %s",
                                 new_opt, ".".join([section, item]))
                helptext = config.format_help(options["helptext"], is_section=False)
                new_config.set(section, helptext)
                if options["type"] == list:  # Comma separated multi select options
                    new_opt = ", ".join(new_opt if isinstance(new_opt, list) else new_opt.split())
                new_config.set(section, item, str(new_opt))
        config.config = new_config
 </s> add         config.config = self._get_new_config(page_only, config, category, lookup)
                retval[key]["helptext"] = conf.defaults[section].helptext
                for option, params in conf.defaults[section].items.items():
                  # Elevate global to root
                  key = plugin if sect == "global" else f"{plugin}|{category}|{sect}"
                  retval[key] = dict(helptext=None, options=OrderedDict())
  
                retval[key]["helptext"] = conf.defaults[section].helptext
                for option, params in conf.defaults[section].items.items():
                retval[key]["helptext"] = conf.defaults[section].helptext
                for option, params in conf.defaults[section].items.items():
                retval[key]["helptext"] = conf.defaults[section].helptext
                for option, params in conf.defaults[section].items.items():
                retval[key]["helptext"] = conf.defaults[section].helptext
                for option, params in conf.defaults[section].items.items():
                      initial_value = conf.config_dict[option]
                      initial_value = "none" if initial_value is None else initial_value
                      if params["type"] == list and isinstance(initial_value, list):
                          # Split multi-select lists into space separated strings for tk variables
                          initial_value = " ".join(initial_value)
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Preview - Allow mask color/opacity configuration
  - typing: lib.config
  - docs: lib.config
  - bugfix: popup_configure - keep assets on top 
lib/gui/popup_configure.py