Append modal content as jquery object or html string