In one of her final acts in office, outgoing Gov. Beverly Perdue formally signed an agreement Friday to lease the Dorothea Dix Hospital campus to the City of Raleigh, which plans to turn it into a "destination park."