Save and restore sash positions in the main DoM.