{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/139de3f8c3d6ee008cdb3abd3da23908?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"139de3f8c3d6ee008cdb3abd3da23908","url":"https://api.github.com/users/dlee","login":"dlee","id":7035},"milestone":null,"labels":[{"name":"idea","color":"0b02e1","url":"https://api.github.com/repos/jejacks0n/mercury/labels/idea"}],"assignee":null,"updated_at":"2011-11-12T03:10:14Z","comments":5,"closed_at":"2011-11-12T03:10:14Z","url":"https://api.github.com/repos/jejacks0n/mercury/issues/79","body":"Right now, clicking outside of a dialog closes the dialog. It would be nice if users had the option to instead have a Cancel button that closes the dialog.","html_url":"https://github.com/jejacks0n/mercury/issues/79","title":"Option for a Cancel button on dialogs","number":79,"id":2207087,"created_at":"2011-11-11T07:56:31Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/42daadccf24dfa8556aa4a5b1e6d4c26?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"42daadccf24dfa8556aa4a5b1e6d4c26","url":"https://api.github.com/users/jejacks0n","login":"jejacks0n","id":13765},"updated_at":"2011-11-12T03:10:14Z","url":"https://api.github.com/repos/jejacks0n/mercury/issues/comments/2715820","body":"I changed the behavior.. I made it optional (but not via configuration).. if you want a modal that can be closed by clicking on the modal overlay (masking layer) you can build your own using behavior callbacks etc.\r\n\r\nThe summary is that I changed this per your request because I tend to agree -- it would be annoying if I accidentally closed a modal by clicking or something.\r\n\r\nIt should be noted that the esc key will still close the modal.","id":2715820,"created_at":"2011-11-12T03:10:14Z"}}