Persist window layout.