@Carlton Whitehead The explanation for your issue is quite simple: If you embed "subview" inside "mainview", then mainview will have it's onDock called when it's window is docked and subview will have it's onDock called when it is attached to mainview. However, when you close the window, only mainview is undocked from it's window. subview is still attached to mainview, so it will not receive any onUndock callback. If you later show mainview again, it will once again receive a call to onDock. subview has been docked to mainview the whole time, hence no onUndock callback.