ui code to load a saved analysis