Hide currently opened dialog when it is shown for another element.

Also bubble editor 'hide' event up through editor as 'hide:dialog'.