Modal
The modal component provides a solid foundation for creating dialogs, popovers, lightboxes, or whatever else.
Example of Modal
You need to have wrapper div modal-container class.
You can copy html part from below code snippet.
Removing Product
Are you sure you want to remove this product from cart?
Live Demo
Click on the below CTA to open modal.To close the pop-up, click on close icon or Back button. Functionality is achieved using JavaScript
Removing Product
Are you sure you want to remove this product from cart?
JavaScript