Fired when a new message is submitted, either by clicking the "send" button, or pressing the Enter key.