layout: Save the pending output