This prevents losing a message if only a message body has been entered and there is nothing has ever been undone.