fix navigation when deleting project
address comments
Merge pull request #3508 from keertip/nav

fix navigation when deleting project