Pick the right title for the modal dialog.