add tab option : save and restore from json