Try to detect if untracked document belongs to the project
An untracked document maybe part of the project. This can happen if you "Save as.." an existing document to create a new one. Instead of adding such a document to "Untracked", add it to its proper place in the project tree. This saves us from doing a manual reload.