In this article, I will use modal dialogs to show how to use content projection to develop according to the DRY principle (Don’t Repeat Yourself) and build dialogs flexibly without over-engineering. As an occasional internet surfer, we’ve all clicked away annoying pop-ups, but as frontend developer we’ve also often had…