added ability to close and open projects