     @updatePartial """
       <div class="file-drop">
         Drop files here!
-        <small>#{FSHelper.getVMNameFromPath(@path) or ''}</small>
-        <small>#{FSHelper.plainPath @path}</small>
+        <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, callback=noop)->
+  upload: (file, data)->
     modalStack  = KDModalView.createStack lastToFirst: yes
     uploadDir   = FSHelper.createFileFromPath @path, 'folder'
     uploadFile  = FSHelper.createFileFromPath "#{@path}/#{file}"

        continue
      reader = new FileReader
      reader.onloadend = do (file=files[index])=> (event)=>
        @upload file.name, event.target.result

        if file is lastFile
          @reset()
          @emit "drop"

      reader.readAsBinaryString file



    options.cssClass      = "file-droparea"
    options.hoverDetect  ?= yes
    options.uploadToVM   ?= yes
    options.defaultPath or= "/home/#{KD.nick()}/Uploads"

    super options, data
