Improved handling for right mouse click menu on file in Navigator: