add a title for dialog