feat(calm-hub): add layout persistence support for patterns (#2969)