Really it's just a matter of duplicating the createElement and appendChild parts of your code, and then setting the relevant properties on the other objects:
function JS_Utils_BuildModal ()
{
var objModal = document.createElement("div");
var objContent = document.createElement("div");
var objP = document.createElement("p");
objModal.setAttribute('id', 'Modal');
objContent.className = 'Content';
objP.innerText = "Sending Data";
objModal.appendChild(objContent);
objContent.appendChild(objP);
document.body.appendChild(objModal);
}
Alternatively, you could do the whole thing/part of it with the innerHTML property, like so:
function JS_Utils_BuildModal ()
{
var objModal = document.createElement("div");
objModal.setAttribute('id', 'Modal');
objModal.innerHTML = '<div class="Content"><p>Sending Data</p></div>';
document.body.appendChild(objModal);
}
Using innerHTML is generally slower than directly manipulating the DOM, because it invokes the HTML parser. It's still fast enough in most cases, though.