add a title to the dialog popup