Bluefire, no offense but I really dont think you understand the point of the snippet. It has nothing to do with the dialog\'s position. It turns areas of the dialog into \'buttons\' (you can specify double click or single click). Hence if you wanted a text id to change when you click on it (without using a button) you could specify the area of that text field. Being that its an example is why it echoes the coordinates (I commented that out for the sclick....). I can change the code to give you a better example but this is an example not a ready to use snippet. If you want, I can put some examples that dont use the echo if that would help you. If you wanted to get the dialogs coordinates you would use $dialog(name).x/y which has nothing to do with the point of this snippet.