The previous refactor inadvertently passed undefined nodeId for blank area menus, causing root-level folder creation/upload to fail. This restores the original behavior by explicitly passing 'root' when the context menu type is 'blank'.