#7 Layout save function (unfinished).