{"action":"created","issue":{"url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/3","labels_url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/3/comments","events_url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/3/events","html_url":"https://github.com/anseki/jquery-plainmodal/issues/3","id":63850941,"number":3,"title":"Add closing options","user":{"login":"luansemensatoribeiro","id":2083823,"avatar_url":"https://avatars.githubusercontent.com/u/2083823?v=3","gravatar_id":"","url":"https://api.github.com/users/luansemensatoribeiro","html_url":"https://github.com/luansemensatoribeiro","followers_url":"https://api.github.com/users/luansemensatoribeiro/followers","following_url":"https://api.github.com/users/luansemensatoribeiro/following{/other_user}","gists_url":"https://api.github.com/users/luansemensatoribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/luansemensatoribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luansemensatoribeiro/subscriptions","organizations_url":"https://api.github.com/users/luansemensatoribeiro/orgs","repos_url":"https://api.github.com/users/luansemensatoribeiro/repos","events_url":"https://api.github.com/users/luansemensatoribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/luansemensatoribeiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T22:40:27Z","updated_at":"2015-03-24T02:55:00Z","closed_at":null,"body":"- Disable closing by esc key\r\n- Disable closing by clicking outside the modal"},"comment":{"url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/comments/85317288","html_url":"https://github.com/anseki/jquery-plainmodal/issues/3#issuecomment-85317288","issue_url":"https://api.github.com/repos/anseki/jquery-plainmodal/issues/3","id":85317288,"user":{"login":"anseki","id":4763469,"avatar_url":"https://avatars.githubusercontent.com/u/4763469?v=3","gravatar_id":"","url":"https://api.github.com/users/anseki","html_url":"https://github.com/anseki","followers_url":"https://api.github.com/users/anseki/followers","following_url":"https://api.github.com/users/anseki/following{/other_user}","gists_url":"https://api.github.com/users/anseki/gists{/gist_id}","starred_url":"https://api.github.com/users/anseki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anseki/subscriptions","organizations_url":"https://api.github.com/users/anseki/orgs","repos_url":"https://api.github.com/users/anseki/repos","events_url":"https://api.github.com/users/anseki/events{/privacy}","received_events_url":"https://api.github.com/users/anseki/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T02:55:00Z","updated_at":"2015-03-24T02:55:00Z","body":"Hi luansemensatoribeiro, Thank you for your post.\r\nDo you want to make the modal stay opening when those events are fired?\r\nDoes the `plainmodalbeforeclose` event help you?\r\n```js\r\n$('#modal').on('plainmodalbeforeclose', function(e) { e.preventDefault(); });\r\n```\r\nhttps://github.com/anseki/jquery-plainmodal#plainmodalbeforeclose\r\n"}}