ide; fixed closing current project before even showing new project dialog.