Add custom titles to dialogs.

Closes #75.