Rewrite the following sentences to correct the dangling phrase? please I need help!!!!!!

1) Sitting at the kitchen table,dinner was served. 

2) Creating a load noise, I watched the truck skid on the ice .

3) To write the final exam, a number two pencil must be brought.

4) On the radio it says it is going to rain.