Keep in mind that a company may pay wages, directors fees, and pay or recieve management fees, consultant fees, bookkeeping fees etc etc, which are all tax deductions / deductable expenses.
I would put dividends last on the list. Infact there's not much point for them.