What is required for me to sign a joint return for my spouse who has dementia? I have a durable power of attorney for financial matters.

If I need to execute a Form 2848 for my wife, how would I sign for her on the Form? What would I put in her signature block on the joint return?