endSessionDialog: Fix DialogContent const

Fallout from commit 0258c7a518 ...