The Rename Gallery dialog will show the current name of the gallery you want to rename. Type the new name in the box: