Calling hide() while a Dialog is hidden, or in the process of fading out,
should have no effect.   Once that's fixed there's no double call to onEnd().
Not backporting [27475] because this supercedes it.
Fixes #14541 on 1.7 branch.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27498 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 48e1a42f7e7d8dd93cc0665c6c9162e95cc9dcdb)
Make sure onShow() only called once on initial show, fixes #15010 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@28193 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit d5b9ba29c9d1a2770f02920962325a58fe4704b0)
Fix bug calling Dialog.show() while hide() fade-out is in progress, causing Dialog to be added to !DialogLevelManager stack twice.   Fixes #16152 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29836 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 86e4c01a08c57412a836112d1f50a2ef4f80abe3)
(cherry picked from commit d23a4848a00e9abef8e105c64f1265399b84f20f)