Use new layout saving functionality based on indexedDB