toc-dialog: Better numbering

This shows both the number and title when available.