We Love Notes But….Fun With @Prompt([ChooseDatabase])

A colleguage asked for a “Open Database” dialog. “Use @Prompt([ChooseDatabase])” was my answer.
A day later the colleguage asked “How do I catch the Cancel option?”
Hm. The return value of the dialog is an array with three elements. But if you hit Cancel the return value is… dada…
That’s obvious, isn’t it? If you cancel a dialog the return value is 1.