When we need users to confirm an action, we can use the native JavaScript confirm function. This works great, and is totally valid, but it really isn't' that stylish. With Angular Material we get a great looking popup dialog that will make our contact form look much nicer.