set ret to display alert "Volume not mounted" message "The volume '" & targetVolume & "' needed for " & omode & " export is not mounted. Please mount it and then retry. Or click cancel." buttons {"Retry", "Cancel"} default button 1 cancel button 2