I dont understand. Are you looking for a "init"-type option like iem guis have but for pd's symbol?
next time I open the patch will fill the symbol with the same 'text' what was written before.
[savestate] could be helpful if you are making a gui abstraction