led, 'dialog is not canceled');
              assert.isTrue(event.detail.confirmed, 'dialog is confirmed');
              done();
            });
            MockInteractions.tap(Polymer.dom(dialog).querySelector('test-buttons').$.confirm);
          });
        });

        test('clicking dialog-dismiss button closes only the dialog where is contained', function(done) {
          var dialog = fixture('nestedmodals');
          var innerDialog = Polymer.dom(dialog).querySelector('test-dialog');
          Mo