How to add a new project to an existing IntelliJ IDEA workspace?

Step 1

2023-05-22--05-47-31

Step 2

2023-05-22--05-48-04

Step 3

2023-05-22--05-49-43

Step 4

2023-05-22--05-50-30

Step 5

Close Intellij IDEA to force it to save the project:
2023-06-10--09-29-40
Otherwise IntelliJ IDEA 2023.1.2 does not create the *.iml file for the project for an unknown reason.