That would be much cleaner, as it doesn’t matter about Dividends Payable (BS) as that account is only applicable on year end balance day - any unpaid dividend balance for the year.
For example - if you paid 100 per month but the year dividend was 1500, you would journal the 300 difference and combine payment of that with the next payslip.