Yes, this is a 401K account. I have the dividends set up to buy more stock. I wouldn't sell the stocks for years from now. But thanks for the tip about cost-basis. Thaks for your help!
No. For 401K accounts you don't pay tax on dividends or any transactions inside the account. That's the benefit of a 401K account. It is all tax deferred until you take it out. You don't need to track the cost basis or anything. When you take a withdrawal it is all taxable as ordinary income. You don't get any capital gains treatment on it.