-- Module Manager modal
INSERT INTO ui_modals (name, config, tenant_id, branch_id, icon, aria_label, description)
SELECT 'module_manager', '{"title":"Module Manager","body":[{"type":"html","id":"moduleManagerContainer","html":""}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}', NULL, NULL, 'fa-cubes', 'Module Manager', 'Module Manager'
WHERE NOT EXISTS (SELECT 1 FROM ui_modals WHERE name = 'module_manager');
