{"action":"closed","issue":{"url":"https://api.github.com/repos/snikch/jquery.dirtyforms/issues/95","repository_url":"https://api.github.com/repos/snikch/jquery.dirtyforms","labels_url":"https://api.github.com/repos/snikch/jquery.dirtyforms/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/snikch/jquery.dirtyforms/issues/95/comments","events_url":"https://api.github.com/repos/snikch/jquery.dirtyforms/issues/95/events","html_url":"https://github.com/snikch/jquery.dirtyforms/issues/95","id":130973717,"number":95,"title":"Bootstrap dialog is not applied when refreshing the page or close the tab","user":{"login":"sky3913","id":7181945,"avatar_url":"https://avatars.githubusercontent.com/u/7181945?v=3","gravatar_id":"","url":"https://api.github.com/users/sky3913","html_url":"https://github.com/sky3913","followers_url":"https://api.github.com/users/sky3913/followers","following_url":"https://api.github.com/users/sky3913/following{/other_user}","gists_url":"https://api.github.com/users/sky3913/gists{/gist_id}","starred_url":"https://api.github.com/users/sky3913/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sky3913/subscriptions","organizations_url":"https://api.github.com/users/sky3913/orgs","repos_url":"https://api.github.com/users/sky3913/repos","events_url":"https://api.github.com/users/sky3913/events{/privacy}","received_events_url":"https://api.github.com/users/sky3913/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snikch/jquery.dirtyforms/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T09:53:54Z","updated_at":"2016-02-04T06:36:07Z","closed_at":"2016-02-04T06:36:07Z","body":"I've installed the Bootstrap Modal dialog for JQuery Dirty Forms using nuget. I bundled this package into the `BundleConfig` class\r\n\r\n```\r\nbundles.Add(new ScriptBundle(\"~/bundles/dirtyforms\").Include(\r\n\t\"~/Scripts/jquery.dirtyforms.js\",\r\n\t\"~/Scripts/jquery.dirtyforms.dialogs.bootstrap.js\"));\r\n```\r\n\r\nand initialize the Dirty Forms in the page `$('form').dirtyForms();`.\r\n\r\nIt works when I try to redirect to another page if there is any changes, but if I click the refresh button on the browser or closed the tab, the bootstrap modal is not applied. Is there any configuration that I've missed or does it only apply on the redirecting page?"}}