attempted a fix for dialogue, but not sure it's right.