display dialog "Ok to procede?" buttons ["Cancel", "Ok"] default button 2 if the button returned of result = "Ok" then do shell script "some-script.sh" end if
open ok-cancel in the applescript editor