       event.stopPropagation()
 
   reset: ->
+    {uploadToVM, defaultPath} = @getOptions()
     @setPath()
     @updatePartial """
       <div class="file-drop">
         Drop files here!
-        <small>#{@getOptions().defaultPath}</small>
+        <small>#{if uploadToVM then defaultPath else ''}</small>
       </div>
     """
 

    lastFile = files[files.length-1]
    for file, index in files
      sizeInMb = file.size/1000/1000
      if sizeInMb > 5
        new KDNotificationView
          type    : "tray"
          title   : "File is too big to upload!"

    @updatePartial """
      <div class="file-drop">
        Drop files here!
        <small>#{if @getOptions().uploadToVM then (FSHelper.getVMNameFromPath(@path) or '') else ''}</small>
        <small>#{if @getOptions().uploadToVM then FSHelper.plainPath @path else ''}</small>
      </div>
    """
    @addSubView new KDCustomHTMLView
      tagName   : "a"
      partial   : "cancel"
      cssClass  : "cancel"
      attributes: href: "#"
      click     : => @emit "cancel"

  upload: (file, data)->
    modalStack  = KDModalView.createStack lastToFirst: yes
    uploadDir   = FSHelper.createFileFromPath @path, 'folder'
    uploadFile  = FSHelper.createFileFromPath "#{@path}/#{file}"
