Fix wrong current snapshot

Now `Dispose()` is called on Classifier when document is closed.