save / restore editor layout