Why do that anyway. Just use Ctrl+W to close the document. In fact, it's better to use MDI since you can automatically tile the child windows horizontally or vertically in Windows > Tile, as per request. Only problem is you cannot easily know which documents are loaded. No tabs. Though the Windows menu helps some.