Remember document size in host dialog