Before this commit: When entering edit mode on the website and discarding directly, the editor considers that there are changes in the DOM and displays a confirmation modal. After this commit: When entering edit mode on the website and clicking directly on discard, the confirmation modal is not displayed. Task-3056463 closes odoo/odoo#110515 X-original-commit: 650a97d1bd59254cc2115d54d58940b6112a8d70 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com> Co-authored-by: Dhaval Baraiya <dhba@odoo.com> Co-authored-by: David Monjoie <dmo@odoo.com> Co-authored-by: Nicolas Bayet <nby@odoo.com>