Revert "- BUGFIX : [MainForm.cs] Check if _mainDockPanel.GetActiveDocument() isn't Null reference before closing"

This reverts commit 81bf305309d4c14498c70e2280e75236512b5126.