[Engine] prevent ChatModel.Close from crashing if no message has even be...

...en added to the ChatModel