Which sentence below contains a dangling modifier?

Finding a place to sleep, the bed was comfortable.
The bed was a comfortable place to sleep.
Finding a place to sleep was difficult.
Finding a place to sleep, the children thought the bed was comfortable

2 answers

One of those seems to imply that the bed might have been finding a place to sleep. Which one sounds like that?
The first one.