Bootstrap 4 Demo
Bootstrap 4 Code Output

Close button in alert