The sentence that does not contain misplaced or dangling modifiers is C. Sitting in a chair on the porch, I looked at the clouds.
In A, it seems that the clouds are sitting. In B, it seems that the clouds are on the porch. In D, again it seems the clouds are sitting.