Fix opening files from Read-Only sources
When we open a file we actually want to read. Use the active main window as a parent for the ::exists error.