added --wrap to error dialogues