saveLayout

Encodes and persists a list of KWidgetModel configurations safely.