   dialog.show()
   input.setFocus()
 
-  finderController = kd.singletons['appManager'].get('Finder').create
+  finderController = kd.singletons.appManager.get('Finder').create
     addAppTitle       : no
     treeItemClass     : IDEFinderItem
     nodeIdPath        : 'path'

envDataProvider = require 'app/userenvironmentdataprovider'


module.exports = (container, callback = kd.noop, options = {}) ->

  container.addSubView dialog = new KDDialogView
    cssClass      : kd.utils.curry 'save-as-dialog', options.cssClass

    contextMenu       : yes
    loadFilesOnInit   : yes
    machineToMount    : options.machine
    saveChanges       : no

  finderController.reset()

  form.addSubView finderWrapper = new KDView { cssClass : 'save-as-dialog save-file-container' }, null
  finderWrapper.addSubView finderController.getView()
  finderWrapper.setHeight 200
