If user changes the form-parameters (like targetted model), it removes all the existing fields without any warning and re-renders a new form according to changed parameters. This commit improves above behavior to prevent accidental loss of a well designed form. Now when user changes form parameters, a warging will be shown to user before re-rendering the form if the model is not same. Part of https://github.com/odoo/odoo/pull/30595 task-1874350