 Project = require './project'
 projects = require './projects'
 path = require 'path'
+changeCase = require 'change-case'
 
 module.exports =
 class SaveDialog extends Dialog

  constructor: () ->
    firstPath = atom.project.getPaths()[0]
    title = path.basename(firstPath)
    if atom.config.get('project-manager.prettifyTitle')
      title = @prettifyTitle(title)

    super
      prompt: 'Enter name of project'

      @close()
    else
      @showError('You need to specify a name for the project')
