how to do a modal in html code example Example: how to make popup modal in jquery with example $('#sub-modal').modal({ closeExisting: false });