Improve dialog to handle multiple lines of dialog.

This was supposed to be committed yesterday, whoops.