To understand the event "Ted was dying.  Ted wrote a will.", it is important to know that Dying means no longer having a physical body on earth.