save panels upon deletion