if the button returned of (display dialog "Successfully exported " & doneCtr & " of " & ctr & " messages." & return & return & "Destination folder:" & return & (theFolder as string) buttons {"OK", "Open Folder"} default button 1 with title msgTitle with icon note) = "Open Folder" then