It should teleport the player to the desired location, but it's not doing as intended.
What can be wrong?
modaldialog = {
title = "Teleport",
message = "Choose you destination",
buttons = {
{ id = 1, value = "OK" },
{ id = 2, value = "CANCEL" },
},
buttonEnter = 1...