playground: Make it clear the cancelled dialog waits for promise
playground: Make it clear the cancelled dialog waits for promise

When the dialog pattern is cancelled, it cancels any running
promise (if possible). It then waits for the promise to resolve
or reject before hiding the window.

This behavior doesn't change, but since we're reimplementing this
behavior in React, make the jQuery interaction case more clear
in the playground.

Closes #4719
Reviewed-by: Dominik Perpeet <f7830b2723a5db4fc185058b06cfab4b89a38da9@redhat.com>

petervo/cockpit,cockpituous/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,andreasn/cockpit,martinpitt/cockpit,cockpituous/cockpit,larsu/cockpit,mareklibra/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,vanloswang/cockpit,larskarlitski/cockpit,andreasn/cockpit,xhad/cockpit,larskarlitski/cockpit,Scribery/cockpit,sgallagher/cockpit,sgallagher/cockpit,garrett/cockpit,dperpeet/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,mvollmer/cockpit,larsu/cockpit,larsu/cockpit,garrett/cockpit,sgallagher/cockpit,andreasn/cockpit,arilivigni/cockpit,martinpitt/cockpit,vanloswang/cockpit,vanloswang/cockpit,stefwalter/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,mareklibra/cockpit,cockpit-project/cockpit,cockpituous/cockpit,sgallagher/cockpit,xhad/cockpit,deryni/cockpit,andreasn/cockpit,petervo/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,mareklibra/cockpit,xhad/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,deryni/cockpit,andreasn/cockpit,vanloswang/cockpit,harishanand95/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,vanloswang/cockpit,arilivigni/cockpit,petervo/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,petervo/cockpit,cockpit-project/cockpit,Scribery/cockpit,deryni/cockpit,SotolitoLabs/cockpit,petervo/cockpit,mareklibra/cockpit,SotolitoLabs/cockpit,michalskrivanek/cockpit,deryni/cockpit,xhad/cockpit,petervo/cockpit,arilivigni/cockpit,mvollmer/cockpit,dperpeet/cockpit,garrett/cockpit,stefwalter/cockpit,mvollmer/cockpit,xhad/cockpit,harishanand95/cockpit,larsu/cockpit,andreasn/cockpit,harishanand95/cockpit,mareklibra/cockpit,deryni/cockpit,larskarlitski/cockpit,dperpeet/cockpit,dperpeet/cockpit,mvollmer/cockpit,xhad/cockpit,dperpeet/cockpit,sgallagher/cockpit,cockpituous/cockpit,larskarlitski/cockpit,arilivigni/cockpit,deryni/cockpit,xhad/cockpit,michalskrivanek/cockpit,cockpituous/cockpit,larskarlitski/cockpit,sgallagher/cockpit,sgallagher/cockpit,larskarlitski/cockpit,harishanand95/cockpit,martinpitt/cockpit,Scribery/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,arilivigni/cockpit,Scribery/cockpit,garrett/cockpit,martinpitt/cockpit,larsu/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,larsu/cockpit,deryni/cockpit,garrett/cockpit,Scribery/cockpit,vanloswang/cockpit,Scribery/cockpit,arilivigni/cockpit,arilivigni/cockpit,petervo/cockpit,mareklibra/cockpit,harishanand95/cockpit,vanloswang/cockpit,andreasn/cockpit,stefwalter/cockpit,mvollmer/cockpit,Scribery/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,dperpeet/cockpit