ckInteractions.tap(Polymer.dom(innerDialog).querySelector('[dialog-dismiss]'));
          setTimeout(function() {
            assert.isFalse(innerDialog.opened, 'inner dialog is closed');
            assert.isTrue(dialog.opened, 'dialog is still open');
            done();
          }, 10);
        });

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