fix 5742: It should pop up Error opening file dialog if click the image which is deleted from OS.

fix #5742: check whether file exists in EditorManager every time an is opened, or an already opened image is clicked on in the file tree. Add focus handler to ImageViewer to check if file exists on focus to match the nehavior of text files.