call .preventDefault() instead of setting as boolean, return false if before_submit is false