Can you avoid the dangling modifier(s)? Select all of the correctly written sentences.

Talking on the phone, I heard the doorbell ring.
Talking on the phone, the doorbell rang.
The doorbell rang while I was talking on the phone.