You have to close a project first before you can switch to another project, for example by using the recently used project list.
Can you make the recent projects option always available? It should then first perform the close project action on the open project.