add dialog windows for port choosing and transmission state