diff --git a/core-overlay.html b/core-overlay.html
index 2c7c3d8..8060c24 100644
--- a/core-overlay.html
+++ b/core-overlay.html
@@ -454,7 +454,7 @@
Dialog
completeBackdrop: function() {
if (this.backdrop) {
trackBackdrop(this);
- if (getBackdrops().length === 0) {
+ if (getBackdrops().length === 0 && this.scrim.parentNode) {
this.scrim.parentNode.removeChild(this.scrim);
}
}