Modernist masterpiece saved from the chopping block