In the place where you added the objectClick1 or w/e, add the interface.
Like instead of
case #:
teleport(x, y, z);
break;
do
case #:
sendchatboxinterface(242);
sendstring("yes", 1);
sendstring("no", 2);
break;
Something similar to that...Then you would do the teleport(x, y, z) in the optionClicking packet.
That's how you would do it, but you have to change most of the numbers/methods around to fit your server.