adds a line to the dialog intercace