get the currently viewed document’s path from Editor Manager to make the title update fn work for images and documents viewed by other custom viewers too. Preserving the dirty dot for document type files only
always hide dirty dot if there is no doc
Merge pull request #6383 from adobe/couzteau/fix-6013-image-path-to-window-title

Show image path in window title