Using title for dialog