I saw what you did there...
You don't necessarily need to create another window for simple alerts, you can use the NSAlert class. I think there is still some weirdness with sheets, so the easiest way to do a sheet would be to use Myriad Helpers, which has a category that adds some methods to the NSAlert class, for example:
tell Cocoa's NSAlert's makeAlert_buttons_text_("Alert", {"OK"}, "Hiya, Apple_For_The_Win" & return & "This sheet will give up after 10 seconds") showOver_calling_wait_(mainWindow, {"sheetDismissed:", me}, 10) end tell -- on sheetDismissed_(theButton) -- the sheet has been dismissed # whatever end sheetDismissed_
The completion handler (sheetDismissed in this case) is called when the sheet is dismissed, and is passed the name of the button (or 'Gave Up').