{"action":"closed","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3872","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3872/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3872/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3872/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3872","id":59733488,"number":3872,"title":"Hitting escape on any web UI modal breaks web UI entirely","user":{"login":"chrisvariety","id":44855,"avatar_url":"https://avatars.githubusercontent.com/u/44855?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisvariety","html_url":"https://github.com/chrisvariety","followers_url":"https://api.github.com/users/chrisvariety/followers","following_url":"https://api.github.com/users/chrisvariety/following{/other_user}","gists_url":"https://api.github.com/users/chrisvariety/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvariety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvariety/subscriptions","organizations_url":"https://api.github.com/users/chrisvariety/orgs","repos_url":"https://api.github.com/users/chrisvariety/repos","events_url":"https://api.github.com/users/chrisvariety/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvariety/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/cp:web-ui","name":"cp:web-ui","color":"ededed"},{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:bug","name":"tp:bug","color":"e102d8"}],"state":"closed","locked":false,"assignee":{"login":"deontologician","id":1366,"avatar_url":"https://avatars.githubusercontent.com/u/1366?v=3","gravatar_id":"","url":"https://api.github.com/users/deontologician","html_url":"https://github.com/deontologician","followers_url":"https://api.github.com/users/deontologician/followers","following_url":"https://api.github.com/users/deontologician/following{/other_user}","gists_url":"https://api.github.com/users/deontologician/gists{/gist_id}","starred_url":"https://api.github.com/users/deontologician/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deontologician/subscriptions","organizations_url":"https://api.github.com/users/deontologician/orgs","repos_url":"https://api.github.com/users/deontologician/repos","events_url":"https://api.github.com/users/deontologician/events{/privacy}","received_events_url":"https://api.github.com/users/deontologician/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/89","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/2.0","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/89/labels","id":950901,"number":89,"title":"2.0","description":"","creator":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":33,"state":"open","created_at":"2015-01-26T07:45:17Z","updated_at":"2015-03-04T02:07:52Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-04T00:52:16Z","updated_at":"2015-03-04T02:07:52Z","closed_at":"2015-03-04T02:07:52Z","body":"Hi all,\r\n\r\nSo, if you open any modal in the web UI (e.g. \"Delete Database\", \"Delete Selected Tables\", etc.), and close the modal by hitting ESC (_instead_ of clicking the little **x**), the page becomes unresponsive -- you cannot click or hover on anything and have to refresh the page. This is because the `modal-dialog` retains a class of `visible` even though its content is emptied correctly.\r\n\r\nHere's a GIF demonstrating the issue:\r\n\r\n![rethinkdb-bug](https://cloud.githubusercontent.com/assets/44855/6476009/99bc1e00-c1c5-11e4-939f-653df7d5ecbc.gif)\r\n\r\nReproduced on latest RethinkDB."}}