dialog giving up after 1 not working

Please check this code below. Giving up after 1 works only when the Finder is activated (meaning Finder is in the foreground), if the activate is removed, the dialog window is behind all other windows and it just waits without giving up.

Is there a way to do this correctly or a workaround exists?

Many thanks!

try this…


tell application "Finder"
	tell me to activate
	tell me to display dialog this_message cancel button 1 giving up after 1
end tell

Tom

Browser: Firefox 4.0
Operating System: Mac OS X (10.6)

@Tom_X worked like a charm… thanks!