
Simple-modal is a lightweight, reusable Angular 2.3.0 compatible solution that will create a modal dialog, add it to the DOM, and then remove the modal from the DOM when it is dismissed. The modal returns a promise indicating which button was pressed to dismiss the modal that then optionally can be used for further processing.