dialogue

Use "dialogue" when referring to a conversation. Use "dialog box" when referring to the UI control.