Gatekeeper dialog prevents execution of .Initialize procedure

I opened one of my – daily used – databases with a double click in the Finder, and my fresh installed new version of PanX launched – for the 1st time. (The automatic restart of PanX after the autoupdate did not seem to count.) Gatekeeper’s dialog came up asking “This app is downloaded from the Internet. Do you really want to open it?”; I confirmed that and then found my database in an unusual window sequence, and obviously the .Initialize procedure (that imports a recent csv file) had not run.
So the Gatekeeper dialog prevents the execution of the .Initialize procedure.
Once I closed and reopened my database the .Initialize procedure ran as expected.