fix checkbox issue in modal form