added verification that the message hasn't changed while you were editing it.