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