<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>Create new File</li>
<li>Try to safe empty file with cmd+shift+s</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.184.0<br>
<strong>System</strong>: Mac OS X 10.9.5<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module 'dialog'<br>
Error: Cannot find module 'dialog'<br>
at Function.Module._resolveFilename (module.js:351:15)<br>
at Function.Module._load (module.js:293:25)<br>
at Module.require (module.js:380:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)<br>
at EventEmitter.emit (events.js:119:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)<br>
at EventEmitter.emit (events.js:119:17)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77

Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
    at Function.Module._resolveFilename (module.js:351:15)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
    at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
    at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
    at Atom.module.exports.Atom.showSaveDialogSync (/Applications/Atom.app/Contents/Resources/app/src/atom.js:836:23)
    at Pane.module.exports.Pane.saveItemAs (/Applications/Atom.app/Contents/Resources/app/src/pane.js:560:26)
    at Pane.module.exports.Pane.saveActiveItemAs (/Applications/Atom.app/Contents/Resources/app/src/pane.js:529:19)
    at Workspace.module.exports.Workspace.saveActivePaneItemAs (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:693:35)
    at atom-workspace.atom.commands.add.core:save-as (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:298:30)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77

Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
    at Function.Module._resolveFilename (module.js:351:15)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
    at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
    at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
    at Atom.module.exports.Atom.showSaveDialogSync (/Applications/Atom.app/Contents/Resources/app/src/atom.js:836:23)
    at Pane.module.exports.Pane.saveItemAs (/Applications/Atom.app/Contents/Resources/app/src/pane.js:560:26)
    at Pane.module.exports.Pane.saveActiveItemAs (/Applications/Atom.app/Contents/Resources/app/src/pane.js:529:19)
    at Workspace.module.exports.Workspace.saveActivePaneItemAs (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:693:35)
    at atom-workspace.atom.commands.add.core:save-as (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:298:30)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -0:42.1 core:save (atom-text-editor.editor)
     -0:16.6 application:new-file (atom-text-editor.editor)
  3x -0:15.0 core:save-as (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate">     -0:42.1 core:save (atom-text-editor.editor)
     -0:16.6 application:new-file (atom-text-editor.editor)
  3x -0:15.0 core:save-as (atom-text-editor.editor.is-focused)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;themes&quot;: [
      &quot;atom-dark-ui&quot;,
      &quot;atom-dark-syntax&quot;
    ]
  },
  &quot;editor&quot;: {
    &quot;fontSize&quot;: 15,
    &quot;invisibles&quot;: {}
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"themes"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">15</span>,
    <span class="pl-ent">"invisibles"</span>: {}
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
No installed packages

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
<span class="pl-en">No</span> <span class="pl-en">installed</span> packages

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>Right-click a file in the left column. (The file I used was green, not added to Git, and empty.)</li>
<li>Click Delete.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.186.0<br>
<strong>System</strong>: Mac OS X 10.10.2<br>
<strong>Thrown From</strong>: <a href="https://github.com/atom/tree-view">tree-view</a> package, v0.164.0</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module 'dialog'<br>
Error: Cannot find module 'dialog'<br>
at Function.Module._resolveFilename (module.js:351:15)<br>
at Function.Module._load (module.js:293:25)<br>
at Module.require (module.js:380:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)<br>
at EventEmitter.emit (events.js:119:17)<br>
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)<br>
at EventEmitter.emit (events.js:119:17)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77

Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
    at Function.Module._resolveFilename (module.js:351:15)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
    at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
    at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
    at Atom.module.exports.Atom.confirm (/Applications/Atom.app/Contents/Resources/app/src/atom.js:705:23)
    at TreeView.module.exports.TreeView.removeSelectedEntries (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:895:19)
    at atom-workspace.disposables.add.atom.commands.add.tree-view:remove (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/main.js:84:39)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
    at jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77

Error: Cannot find module 'dialog'
Error: Cannot find module 'dialog'
    at Function.Module._resolveFilename (module.js:351:15)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
    at metaToValue (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:77:15)
    at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/remote.js:157:34)
    at Atom.module.exports.Atom.confirm (/Applications/Atom.app/Contents/Resources/app/src/atom.js:705:23)
    at TreeView.module.exports.TreeView.removeSelectedEntries (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/tree-view.js:895:19)
    at atom-workspace.disposables.add.atom.commands.add.tree-view:remove (/Applications/Atom.app/Contents/Resources/app/node_modules/tree-view/lib/main.js:84:39)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
    at jQuery.fn.trigger (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:64:23)
    at EventEmitter.&lt;anonymous&gt; (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  6x -4:21.1 core:move-up (atom-text-editor.editor)
     -4:19.1 core:move-left (atom-text-editor.editor)
     -4:15.5 core:save (atom-text-editor.editor)
     -2:19.6 core:backspace (atom-text-editor.editor)
  3x -2:17.4 core:move-right (atom-text-editor.editor)
  2x -2:07.9 editor:move-to-first-character-of-line (atom-text-editor.editor)
     -2:07.4 core:select-down (atom-text-editor.editor)
     -2:06.5 core:copy (atom-text-editor.editor)
     -2:04.1 core:move-up (atom-text-editor.editor)
     -2:03.9 core:move-down (atom-text-editor.editor)
     -2:03.7 core:select-down (atom-text-editor.editor)
     -2:03.4 core:copy (atom-text-editor.editor)
  2x -2:00.7 editor:move-to-first-character-of-line (atom-text-editor.editor)
  3x -2:00.3 core:select-down (atom-text-editor.editor)
     -1:59.8 core:paste (atom-text-editor.editor)
  3x -1:58.7 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate">  6x -4:21.1 core:move-up (atom-text-editor.editor)
     -4:19.1 core:move-left (atom-text-editor.editor)
     -4:15.5 core:save (atom-text-editor.editor)
     -2:19.6 core:backspace (atom-text-editor.editor)
  3x -2:17.4 core:move-right (atom-text-editor.editor)
  2x -2:07.9 editor:move-to-first-character-of-line (atom-text-editor.editor)
     -2:07.4 core:select-down (atom-text-editor.editor)
     -2:06.5 core:copy (atom-text-editor.editor)
     -2:04.1 core:move-up (atom-text-editor.editor)
     -2:03.9 core:move-down (atom-text-editor.editor)
     -2:03.7 core:select-down (atom-text-editor.editor)
     -2:03.4 core:copy (atom-text-editor.editor)
  2x -2:00.7 editor:move-to-first-character-of-line (atom-text-editor.editor)
  3x -2:00.3 core:select-down (atom-text-editor.editor)
     -1:59.8 core:paste (atom-text-editor.editor)
  3x -1:58.7 core:save (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;themes&quot;: [
      &quot;atom-dark-ui&quot;,
      &quot;atom-dark-syntax&quot;
    ],
    &quot;destroyEmptyPanes&quot;: false
  },
  &quot;tree-view&quot;: {}
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"themes"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>atom-dark-syntax<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"destroyEmptyPanes"</span>: <span class="pl-c1">false</span>
  },
  <span class="pl-ent">"tree-view"</span>: {}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
language-haml, v0.15.0

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
language<span class="pl-k">-</span>haml, v0.<span class="pl-ii">15</span>.<span class="pl-ii">0</span>

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>