When clicking "edit locally" the file directly opens on the desktop. Why not only opening the file in the local explorer and have it preselected? – Then the user does have more options to work with the file via the right click context menu and can choose a different application to open it with.