* Add window.dialog.close() to close a dialog with the specified ID
* Add window.dialog.closeAll() to close all dialogs
* Add window.dialog.closeTop() to close the currently focused dialog
* Fix an issue that might cause errors if a dialog in the middle of a stack is closed
Minor fixup
Merge branch 'component'