Move interface features from panels into modules, move AddModelDialog into the models module, and rename module Widget surfaces to Panel. Generated with the assistance of an AI coding tool.