I've an modal in jquery 2.* and running a project in visual studio express for web. When I'm in debug mode and let the page be idle with the modal up, it closes itself after a (long) while. I really can't understand why and having a hard time to figure it out. Does anyone have any idea?
I've looked through the jquery code for setTimeout, but only found 3 calls to setTimeout, none of which I suspect. I also know that visual studio is doing some polling for some reason, that's my main suspect right now, but I can't understand why that would close my modal.