When one adds a product with a non-unique code, there is no information that the product with a given code already exists.
Log into as administrator and go to Administration > Products;
Click the "+Add Product" button and enter non-unique Product Code e.g. C102.
Information that the product with a given code already exists didn't occur.
Modal with information should be visible.