Issue 1:
[Enter steps to reproduce below:]

Create new File

Try to safe empty file with cmd+shift+s

Atom Version: 0.184.0

System: Mac OS X 10.9.5

Thrown From: Atom Core

Stack Trace

Uncaught 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. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)

at EventEmitter.emit (events.js:119:17)

at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)

at EventEmitter.emit (events.js:119:17)

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.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter.<anonymous> (/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)

Commands

-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)

Config

{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
},
"editor": {
"fontSize": 15,
"invisibles": {}
}
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Issue 2:
[Enter steps to reproduce below:]

Right-click a file in the left column. (The file I used was green, not added to Git, and empty.)

Click Delete.

Atom Version: 0.186.0

System: Mac OS X 10.10.2

Thrown From: tree-view package, v0.164.0

Stack Trace

Uncaught 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. (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)

at EventEmitter.emit (events.js:119:17)

at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom/browser/api/lib/web-contents.js:99:23)

at EventEmitter.emit (events.js:119:17)

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.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter.<anonymous> (/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.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:80:67)

Commands

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)

Config

{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
],
"destroyEmptyPanes": false
},
"tree-view": {}
}

Installed Packages

# User
language-haml, v0.15.0

# Dev
No dev packages