     return path.replace /(\/+)$/, ""
 
   makeNewApp:(callback)->
-
-    return callback? yes if newAppModal
 
     newAppModal = new KDModalViewWithForms
       title                       : "Create a new Application"

  defaultManifest = (type, name)->

    {profile} = KD.whoami()
    fullName  = KD.utils.getFullnameFromAccount()
    raw =
      experimental  : no
      background    : no

      type     : "mini"

    {vmController} = KD.singletons
    vmController.run {
      withArgs : "kdc #{app.path}"
      vmName   : app.vm
    }, (err, response)=>

      unless err

