Description
When adding controls, Click throws an exception if the Page or Container already contains a control with the same name. Page and Panel models behave similarly.
This behavior protects users from accidentally adding controls with the same name, but at the same time doesn't work well for stateful pages where existing controls should be replaced.
The proposed change is to not throw an exception and simply replace the existing control or model object.