allow switching to the log view from readonly documents.