{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/7362","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7362/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7362/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7362/events","html_url":"https://github.com/zurb/foundation-sites/issues/7362","id":120139589,"number":7362,"title":"Modal Problem when calling foundation twice","user":{"login":"Miniconi","id":1877121,"avatar_url":"https://avatars.githubusercontent.com/u/1877121?v=3","gravatar_id":"","url":"https://api.github.com/users/Miniconi","html_url":"https://github.com/Miniconi","followers_url":"https://api.github.com/users/Miniconi/followers","following_url":"https://api.github.com/users/Miniconi/following{/other_user}","gists_url":"https://api.github.com/users/Miniconi/gists{/gist_id}","starred_url":"https://api.github.com/users/Miniconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miniconi/subscriptions","organizations_url":"https://api.github.com/users/Miniconi/orgs","repos_url":"https://api.github.com/users/Miniconi/repos","events_url":"https://api.github.com/users/Miniconi/events{/privacy}","received_events_url":"https://api.github.com/users/Miniconi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T10:32:20Z","updated_at":"2015-12-03T10:48:43Z","closed_at":null,"body":"Hi, \r\n\r\nI am currently migrating to foundation 6 and I have reached a very annoying problem. \r\nFirst of all, this is a angular App, with a quite a lot of data bindings. The DOM is evolving all the time. \r\nHere is the issue, I several a modals and If I call $(document).foundation() twice the grey background layer stay on the screen even if the modal is closed. So the only thing to do is to refresh the page. \r\n\r\nThe problem can be seen on the foundation page. http://foundation.zurb.com/sites/docs/reveal.html\r\n\r\nIf you call $(document).foundation() on the console, you won't be able to close modals. \r\n\r\nAny help with that? "},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/161595005","html_url":"https://github.com/zurb/foundation-sites/issues/7362#issuecomment-161595005","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/7362","id":161595005,"user":{"login":"Miniconi","id":1877121,"avatar_url":"https://avatars.githubusercontent.com/u/1877121?v=3","gravatar_id":"","url":"https://api.github.com/users/Miniconi","html_url":"https://github.com/Miniconi","followers_url":"https://api.github.com/users/Miniconi/followers","following_url":"https://api.github.com/users/Miniconi/following{/other_user}","gists_url":"https://api.github.com/users/Miniconi/gists{/gist_id}","starred_url":"https://api.github.com/users/Miniconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miniconi/subscriptions","organizations_url":"https://api.github.com/users/Miniconi/orgs","repos_url":"https://api.github.com/users/Miniconi/repos","events_url":"https://api.github.com/users/Miniconi/events{/privacy}","received_events_url":"https://api.github.com/users/Miniconi/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T10:48:43Z","updated_at":"2015-12-03T10:48:43Z","body":"![capture d ecran 2015-12-03 11 48 00](https://cloud.githubusercontent.com/assets/1877121/11558585/c693722c-99b3-11e5-8fea-7525264b16f1.png)\r\n"}}