Fixed bug where panel attrs were not saving.