dimensions and data of the grid can be saved and loaded via the local storage