SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me.
$('.modal-backdrop').removeClass('in'); $('#myDiv').removeClass('in');
The dialog and backdrop went away, but they came back the next time I clicked the button.