So I'm trying to use bootstrap styling (which is awesome BTW) on a custom SharePoint application page. To do this, I modified the bootstrap.less file to prefix all the selectors with an id that I chose. Basically, I followed the suggestion on this post: Prefixing all selectors for twitter bootstrap in less.
This worked great...the bootstrap styling was only being applied to a container div with the ID I had chosen. However, when I did this, I noticed modals stopped working. I tested this by switching back to the original bootstrap.css file..modals were working fine again. I can't use the default bootstrap.css file because it messes up some of the SharePoint styling on the rest of the page. What would I need to do to get modals working while using a custom prefixed selector on all the bootstrap styling elements?