how to add text in modal box bootstrap code example Example 1: bootstrap modal Launch demo modal Modal title × ... Example 2: modal in bootstrap 4 $('#myModal').modal('hide')