I'm not a proff but I hope I can help.
click here what a dangling modifier is
As far as I understand what a dangling modifier is that
Forgetting the due date and Burned to a cinder are dangling modifiers in yours exapmles.
I'd say that the correct sentences are A and B.
I hope that help.
- For Teachers