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