State tax filing

The dividends on line 17 don't appear on NJ-DOP,  so they can't be included in Line 4.

I don't know why you would think they do (other than there is a current problem with TurboTax NJ-DOP).

 

A dividend is not a disposition (sale) of an asset.