implement analysis save as dialog