{"action":"created","issue":{"url":"https://api.github.com/repos/Studio-42/elFinder/issues/1312","repository_url":"https://api.github.com/repos/Studio-42/elFinder","labels_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1312/labels{/name}","comments_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1312/comments","events_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1312/events","html_url":"https://github.com/Studio-42/elFinder/issues/1312","id":145857541,"number":1312,"title":"How to make elfinderdialog modal?","user":{"login":"svetlanadzhura","id":17263597,"avatar_url":"https://avatars.githubusercontent.com/u/17263597?v=3","gravatar_id":"","url":"https://api.github.com/users/svetlanadzhura","html_url":"https://github.com/svetlanadzhura","followers_url":"https://api.github.com/users/svetlanadzhura/followers","following_url":"https://api.github.com/users/svetlanadzhura/following{/other_user}","gists_url":"https://api.github.com/users/svetlanadzhura/gists{/gist_id}","starred_url":"https://api.github.com/users/svetlanadzhura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svetlanadzhura/subscriptions","organizations_url":"https://api.github.com/users/svetlanadzhura/orgs","repos_url":"https://api.github.com/users/svetlanadzhura/repos","events_url":"https://api.github.com/users/svetlanadzhura/events{/privacy}","received_events_url":"https://api.github.com/users/svetlanadzhura/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-05T01:45:42Z","updated_at":"2016-04-07T07:09:50Z","closed_at":"2016-04-06T16:14:54Z","body":"How to make elfinderdialog modal? If I change default setting modal to true then after closing dialog I get unresponsive elfinder\r\n\r\n```\r\n$.fn.elfinderdialog.defaults = {\r\n\tcssClass  : '',\r\n\ttitle     : '',\r\n\tmodal     : true,\r\n\tresizable : true,\r\n\tautoOpen  : true,\r\n\tcloseOnEscape : true,\r\n\tdestroyOnClose : false,\r\n\tbuttons   : {},\r\n\tbtnHoverFocus : true,\r\n\t...\r\n}\r\n```\r\n\r\nIn case I change destroyOnClose to true too notification dialogs dont appeared at all. Thank you"},"comment":{"url":"https://api.github.com/repos/Studio-42/elFinder/issues/comments/206726616","html_url":"https://github.com/Studio-42/elFinder/issues/1312#issuecomment-206726616","issue_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1312","id":206726616,"user":{"login":"svetlanadzhura","id":17263597,"avatar_url":"https://avatars.githubusercontent.com/u/17263597?v=3","gravatar_id":"","url":"https://api.github.com/users/svetlanadzhura","html_url":"https://github.com/svetlanadzhura","followers_url":"https://api.github.com/users/svetlanadzhura/followers","following_url":"https://api.github.com/users/svetlanadzhura/following{/other_user}","gists_url":"https://api.github.com/users/svetlanadzhura/gists{/gist_id}","starred_url":"https://api.github.com/users/svetlanadzhura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svetlanadzhura/subscriptions","organizations_url":"https://api.github.com/users/svetlanadzhura/orgs","repos_url":"https://api.github.com/users/svetlanadzhura/repos","events_url":"https://api.github.com/users/svetlanadzhura/events{/privacy}","received_events_url":"https://api.github.com/users/svetlanadzhura/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T07:09:50Z","updated_at":"2016-04-07T07:09:50Z","body":"Another place... If you rename folder in the tree with name which already exists you get error dialog 'File name \"xxx\" already exists', after closing that dialog elfinder gets unresponsive again. If I change modal to false in error call (see code fragment below) then no hanging.\r\n\r\n\t\t\t\t\t\t\r\n```\r\nif (fm.fileByName(name, file.phash)) {\r\n\t\t\t\t\t\t\tinError = true;\r\n\t\t\t\t\t\t\tfm.error([file.mime != 'directory' ? 'errExists' : 'errDirExists', name], {modal: true, close: select});\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\r\n```\t}\r\n```"}}