Add a new event "QueryOpen" for NotesUiDatabase (= in the Database Script) with the possibilty to set a parameter "Continue" to False.
This restriction exists for the following methods NotesUIWorkspace class: PickListCollection, PickListStrings, Prompt, URLOpen, EditDocument, SaveFileDialog, OpenFileDialog. Its meaning is not clear, because DialogBox allowed, and he calmly executed?!!
I propose to remove this restriction, without him it will be very convenient to choose something, but, for example, if you cancel ...