Why does Google Drive use a dialog for renaming files?

In all modern file managers, when you rename a file, it allows you to rename the file on the label in the file manager like this:

Renaming a file on Windows 8

Windows, macOS, and Dropbox's web interface all have this behavior. This behavior makes sense because you are typing a new name with the location of the file in the window manager. Google Drive's web interface, on the other hand uses a dialog to rename files: Renaming a file on Google Drive It seems to me that by using a dialog, they've disconnected the renaming process from the file itself; in a folder with multiple files, the dialog shown would seem to be renaming any file, unless the user happened to notice the blue highlight. Is there a reason for ditching the familiar model for renaming files?