Update submodule reference.
Inverse exit condition when closing documents.