show dialog bootstrap code example Example 1: bootstrap modal Launch demo modal Modal title × ... Example 2: bootstrap 4 hide modal via javascript $('#myModal').modal('hide')