The house was teetering on the edge of a steep and unstable hill in the Dover Shores community of Newport Beach.