if(!EditorUtility.DisplayDialog("Material Upgrader",string.Format("The upgrade will possibly overwrite all the {0} selected material settings",selection.Length)+
"Be sure to have a project backup before proceeding","Proceed","Cancel"))
if(!EditorUtility.DisplayDialog("Material Upgrader",string.Format("The upgrade will overwrite {0} selected material{1}. ",selection.Length,(selection.Length>1)?"s":"")+