Tax on dividend vs capital gain