First of all, the only dividend that can appear in the income statement is the redeemable preference shares dividend. This is a finance cost/expense (a debit).
Regarding the balance sheet, a liability will exist at the year end when these expenses have not been paid yet. So the redeemable preference shares will be a liability at the year end if not paid.
The ordinary shares will be a liability if they have been declared but not paid.