It should work but it isnt adding a TouchTransmitter/TouchInsert.

local DialogDetector = workspace.Detectors.DialogDetector2
local Dialog = script.Parent.SurfaceGui.Dialog
local DialogParent = script.Parent.SurfaceGui

local function playerTouched(part)
	print("Activated")
	DialogParent.Visible = true
	Dialog.Text = "Hey!" 
	print("Hey")
	wait(2)
	print("Hear")
	Dialog.Text = "Hey! Can you hear me?"
	wait(3)
	print("No")
	Dialog.Text = "Hey! Can you hear me? No?"
	wait(2)
	print("Test")
	Dialog.Text = "Well. This was a test run."
	wait(3)
	print("End")
	DialogParent.Visible = false
	
end

DialogDetector.Touched:Connect(playerTouched)