To add dependent tasks from the Modern UX from other projects, the user could take these steps
Login to the Modern UX
Open a Project
Go to the Tasks tab
From the Actions Menu on the top left, select PPM Gantt
This brings up a Gantt popup
Here the user can create or edit an existing task.
The popup will be from Classic and they will be able to add dependent tasks from other projects