If I incur 3,000 in realized loses in a year and receive 3,000 in stock dividends that year, is there any tax liability? I know realized losses cancel realized gains, but how about dividends?