Added a pop-up dialogue after handshake is pressed