Closing non-responsive dialogs


Using the gist-it extension, if you try to create a private gist with no Github token set in the config, the extension will try to copy nil to the keyboard, which throws an invalid string error. The dialog then hangs, and there is no way to close it without quitting Atom.

It would be nice if Atom included a way of closing dialogs if an extension stops responding.