data-before cancel

allowed data-before function to return false in order to cancel a
request.