Get ( lastMessageChoice) only returns a value when the preceding script step is Show Custom Dialog. That is not in use here and that's why this doesn't work.
If [ Get ( LastError ) = 1 // user canceled action ]
Holy cow that was easy... You are the man Phil!!!