Hi,
You should never dispose a document, AutoCAD takes care of that.
With AutoCAD API, you must dispose transactions, locked documents, and every dbobject which is not handled by a transaction e.g.: opened with theObjectId.Open() method or any new dbobject (created with new or a method generating a DBObjectCollection as Explode()) which is not added to a transaction (when added to a transaction, this transaction will take care to dispose the object when disposing itself).