Message is no longer defined anywhere here so an error was being thrown. It used to say "Slide already exists with this name" but now a slides name does not have to be unique.