added dialogue box for serial connection