Some ui work of saving to file