set msgResponse to (the button returned of (display dialog "The file:" & return & return & tempName & fileExtention & return & return & "already exists. Overwrite it?" buttons {"Cancel", "Overwrite", "Rename"} default button 2 with title msgTitle))