This howto is especially for when using a custom modal paper-dialog that is not within the <body>
element - for example within a custom page element.
Add the following to your custom element:
// https://github.com/PolymerElements/paper-dialog/issues/7
patchOverlay: function (e) {
if (e.target.withBackdrop) {
e.target.parentNode.insertBefore(e.target.backdropElement, e.target);
}
},
Next, add on-iron-overlay-opened="patchOverlay"
to your <paper-dialog>
element(s).