How to Create Confirmation Dialog Popups Using Angular Material Let's face it: sometimes your Angular app can take either "yes" or "no" for an answer. That's why you need a reusable confirmation dialog component.