modified the form to excluded the non checked agreements on save