Save the viewport and sidebar layouts