{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/atom/issues/11551","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/11551/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/11551/comments","events_url":"https://api.github.com/repos/atom/atom/issues/11551/events","html_url":"https://github.com/atom/atom/issues/11551","id":149907638,"number":11551,"title":"\"Keep Waiting\" dialog blocks until closed","user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/bug","name":"bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-04-20T22:46:37Z","updated_at":"2016-04-20T22:46:37Z","closed_at":null,"body":"### Prerequisites\r\n\r\n* [x] Can you reproduce the problem in [safe mode](http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-if-the-problem-shows-up-in-safe-mode)?\r\n* [x] Are you running the [latest version of Atom](http://flight-manual.atom.io/hacking-atom/sections/debugging/#update-to-the-latest-version)?\r\n* [x] Did you check the [debugging guide](http://flight-manual.atom.io/hacking-atom/sections/debugging/)?\r\n* [x] Did you check the [FAQs on Discuss](https://discuss.atom.io/c/faq)?\r\n* [x] Are you reporting to the [correct repository](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#atom-and-packages)?\r\n* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Aatom+-repo%3Aatom%2Felectron) to see if your bug or enhancement is already reported?\r\n\r\n### Description\r\n\r\nThe \"keep waiting\" dialog that appears when Atom becomes unresponsive blocks until it is closed, preventing Atom from ever becoming responsive again until \"keep waiting\" is selected.  This is because Atom is performing a synchronous call to `dialog.showMessageBox` instead of an async one.  In addition, there is no code in place to automatically close the dialog if/when Atom does regain responsiveness.\r\n\r\n### Steps to Reproduce\r\n\r\n1. Get Atom into an unresponsive state and have the \"keep waiting\" dialog appear\r\n2. Wait for Atom to become responsive again\r\n3. :zzz:\r\n\r\n**Expected behavior:** Atom to regain responsiveness\r\n\r\n**Actual behavior:** Atom hangs forever until an option is selected\r\n\r\n### Versions\r\n\r\n```\r\nAtom    : 1.9.0-dev-8ece1ee\r\nElectron: 0.36.8\r\nChrome  : 47.0.2526.110\r\nNode    : 5.1.1\r\n```\r\n```\r\napm  1.9.2\r\nnpm  2.13.3\r\nnode 0.10.40\r\npython 2.7.10\r\ngit 2.7.0.windows.1\r\nvisual studio 2015\r\n```\r\n\r\nWindows 10 x64."}}