{"action":"opened","issue":{"url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/348","labels_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/348/comments","events_url":"https://api.github.com/repos/kartik-v/bootstrap-fileinput/issues/348/events","html_url":"https://github.com/kartik-v/bootstrap-fileinput/issues/348","id":95182796,"number":348,"title":"Issues closing in Safari","user":{"login":"toddaa","id":1050033,"avatar_url":"https://avatars.githubusercontent.com/u/1050033?v=3","gravatar_id":"","url":"https://api.github.com/users/toddaa","html_url":"https://github.com/toddaa","followers_url":"https://api.github.com/users/toddaa/followers","following_url":"https://api.github.com/users/toddaa/following{/other_user}","gists_url":"https://api.github.com/users/toddaa/gists{/gist_id}","starred_url":"https://api.github.com/users/toddaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddaa/subscriptions","organizations_url":"https://api.github.com/users/toddaa/orgs","repos_url":"https://api.github.com/users/toddaa/repos","events_url":"https://api.github.com/users/toddaa/events{/privacy}","received_events_url":"https://api.github.com/users/toddaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-15T12:43:06Z","updated_at":"2015-07-15T12:43:06Z","closed_at":null,"body":"I am creating the dialog like this:\r\n\r\nvar dialog = new BootstrapDialog.show({\r\n    closable: false,\r\n    size: BootstrapDialog.SIZE_WIDE,\r\n    message: $(\"\\<div>\\</div>').load(\"newpage.php\"),\r\n    onshown: function(dialogItself){\r\n        dialogItself.getModalBody().find('#btnBack').bind( \"click\", function(event) {\r\n            dialogItself.close();\r\n        });\r\n    }\r\n});\r\nAs you can see its pretty straight forward loading of another HTML page as defined in the documentation.  That part works fine.  Once the dialog is running I am setting the click event of an element inside the dialog to provide a close button functionality.  This seems to work in every browser I have tried except Safari.  When the button is pressed, and the close event fires parts seem to close, but main modal dialog remains.  Anyone ever heard of this before and know how to get around it?"}}