This commit replaces the legacy dialog by the new one. Part of task-id 3439226 Part-of: odoo/odoo#129774