The Put To Library dialog is displayed when you want to save the material in an active sample slot into a material library file. It lets you change the material's name before you save it.
Compact Material Editor > (Put To Library)
Interface
Name
Shows the name of the material to save. You can edit this name to save it under a different name.