{"action":"created","issue":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/152","labels_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/152/comments","events_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/152/events","html_url":"https://github.com/defunkt/jquery-pjax/issues/152","id":5063554,"number":152,"title":"callback on back button","user":{"login":"digitalplaywright","id":606207,"avatar_url":"https://avatars.githubusercontent.com/u/606207?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalplaywright","html_url":"https://github.com/digitalplaywright","followers_url":"https://api.github.com/users/digitalplaywright/followers","following_url":"https://api.github.com/users/digitalplaywright/following{/other_user}","gists_url":"https://api.github.com/users/digitalplaywright/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalplaywright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalplaywright/subscriptions","organizations_url":"https://api.github.com/users/digitalplaywright/orgs","repos_url":"https://api.github.com/users/digitalplaywright/repos","events_url":"https://api.github.com/users/digitalplaywright/events{/privacy}","received_events_url":"https://api.github.com/users/digitalplaywright/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2012-06-14T06:55:17Z","updated_at":"2015-02-18T08:56:13Z","closed_at":"2012-06-14T15:09:41Z","body":"I apologize if this is not the correct forum for this question. We use pjax to load the contents of a modal, and then we launch the modal with the 'pjax:end' callback. However,  the browser back button renders the previous page with the modal still overlaying the page. Please let us know if you have any recommendations on how to best create a callback on the browser back button to close the modal."},"comment":{"url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/comments/74831735","html_url":"https://github.com/defunkt/jquery-pjax/issues/152#issuecomment-74831735","issue_url":"https://api.github.com/repos/defunkt/jquery-pjax/issues/152","id":74831735,"user":{"login":"lustremedia","id":1240374,"avatar_url":"https://avatars.githubusercontent.com/u/1240374?v=3","gravatar_id":"","url":"https://api.github.com/users/lustremedia","html_url":"https://github.com/lustremedia","followers_url":"https://api.github.com/users/lustremedia/followers","following_url":"https://api.github.com/users/lustremedia/following{/other_user}","gists_url":"https://api.github.com/users/lustremedia/gists{/gist_id}","starred_url":"https://api.github.com/users/lustremedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lustremedia/subscriptions","organizations_url":"https://api.github.com/users/lustremedia/orgs","repos_url":"https://api.github.com/users/lustremedia/repos","events_url":"https://api.github.com/users/lustremedia/events{/privacy}","received_events_url":"https://api.github.com/users/lustremedia/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T08:56:13Z","updated_at":"2015-02-18T08:56:13Z","body":"@bkabka Thanks for the pointer I think that is going to work."}}