$data modify storage sgrave:temp graves_list set from storage sgrave:graves _$(pid)

#$data modify storage sgrave:temp actions append value [{label:[{text:"Grave #$(gid)",color:"gold"},{text:" || ",color:"gray"},{text:"$(x) ",color:"yellow"},{text:"$(y) ",color:"aqua"},{text:"$(z)",color:"light_purple"},{text:" || ",color:"gray"},{text:"$(dimension)",color:"green"}],width:350},{label:{atlas:"minecraft:gui",sprite:"pending_invite/reject"},width:50,action:{type:"minecraft:run_command",command:"trigger sgrave.delete set $(num)"}}]


#data remove storage sgrave:temp graves_list[-1]