Make 'Choose Folder' float above all other windows

Using Script Editor I have been unable to find a way to make my Choose Folder window float above all other windows.

set pathToFolder to choose folder with prompt "Choose a folder or drive"

This is necessary because the Choose Folder window is triggered when the user selects an option from a Menu Bar menu item (the same one I posted about here: http://macscripter.net/viewtopic.php?id=44383). Normally the app running the Menu Bar menu is not in the foreground so the resulting window appears below other windows.

Any ideas as to how to accomplish this in Script Editor?

BTW I posted this in the ASOC forum because I assume the answer will probably use ASOC.

try

current application's NSApplication's sharedApplication()'s activateIgnoringOtherApps:true

this forces the application to become active (to the foreground).

Nice. That did the trick. Thanks!