Is it possible to tell whether or not a user has chosen
[Cancel] in a
gui.InputDialog(text, preset) if you specify the preset? Best I can tell, it will always return the preset.
Here's a post from the old forum on the subject.
It seems like it's a bug that the preset is returned when cancel is pressed.
Perhaps a third (optional) variable could be added
cancel="" which is what would be returned if the user cancels?