{"action":"opened","issue":{"url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1880","labels_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1880/labels{/name}","comments_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1880/comments","events_url":"https://api.github.com/repos/Semantic-Org/Semantic-UI/issues/1880/events","html_url":"https://github.com/Semantic-Org/Semantic-UI/issues/1880","id":59164466,"number":1880,"title":"[Modal] Custom Hide Logic - Open Another Modal Bug","user":{"login":"daneren2005","id":414653,"avatar_url":"https://avatars.githubusercontent.com/u/414653?v=3","gravatar_id":"","url":"https://api.github.com/users/daneren2005","html_url":"https://github.com/daneren2005","followers_url":"https://api.github.com/users/daneren2005/followers","following_url":"https://api.github.com/users/daneren2005/following{/other_user}","gists_url":"https://api.github.com/users/daneren2005/gists{/gist_id}","starred_url":"https://api.github.com/users/daneren2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daneren2005/subscriptions","organizations_url":"https://api.github.com/users/daneren2005/orgs","repos_url":"https://api.github.com/users/daneren2005/repos","events_url":"https://api.github.com/users/daneren2005/events{/privacy}","received_events_url":"https://api.github.com/users/daneren2005/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-26T23:45:32Z","updated_at":"2015-02-26T23:45:32Z","closed_at":null,"body":"Due to needing to be have more than a just a positive/negative button on the modal actions, I return false in onApprove and manually call .modal('hide') on the button clicks.  In one case I open up another dialog immediately after.  This causes the second modal's dimmer to show, but not the dialog.\r\n\r\nHere is a jsfiddle with a demonstration: http://jsfiddle.net/daneren2005/nk3u4vha/.  Click the close button on the first dialog and the second will never appear properly.\r\n\r\nThis artificial example is easy to work around, but in my case it is actually dependent on how long a ajax call takes.  If it takes less then about 500 ms, this happens.  If it takes longer than that, it does not.  If it takes longer though, I don't want to just leave the first modal there waiting for the ajax call to finish and the subsequent second modal to take it's place."}}