The Replace Material dialog is displayed when you change a material type to one of the compound material types. It gives you the choice of replacing the original ("old") material completely, or using the original material as a sub-material of the new material.