Close documents when DockDialog closed