BUG FIX : check IsDisposed before using DockPanel.