Fixed how messages are generated for schema dialog