replace newlines with <br>; focus textarea on showing textarea