title: Enable event handling on buttons in modal with stopPropagation
body: <p>I have a modal component that has <code>stopPropagation()</code> on the container to prevent it from closing if clicking on the modal itself. In the modal footer I have two buttons that I need analytics for and <code>stopPropagation()</code> is preventing any event handler. I thought I could wrap everything but the footer with <code>stopPropagation()</code>, but I don't want the modal to close if clicking the footer.</p>