removed warnings
made connect to dialog work
made connect to dialog show correct ip