better auto-close example text