Our single page web applications will be using some bootstrap modal windows. Bootstrap seems to hide them until they're needed so simply appending all the modal HTML to the bottom of the form seems like a simple enough plan.
To help with organization, I'd like to do something similar to bundling JS files. However, I don't want the bundle to output links to the files that contain the modal dialog HTML, I want to bundle the actual content in these files and then be inserted at the bottom of the document.
I've looked but the only Bundle options seem to be Less, Style, and Script. It seems to be a safe bet that these will generate references to the files and not insert the file's contents like I'm looking for.
If Bundles aren't the way to go, what alternative do I have that will inject another file's contents into a page on the server side?