Added 2 events: onClose, onResize
function onResizeDialog(target) {
//your custom code here
}
function onCloseDialog(target) {
//your custom code here
}
Added new property: minimized. This will send the pane to the dock panel at the bottom of the screen.