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

Is the bed looking for a place to sleep?

What do you think?
would not the dangling modifer be sentence 4?