In the meantime, you can lower your tax exposure by using a tax-deferred account to hold dividend-paying stocks, avoiding unnecessary trades and offseting realized capital gains with realized losses.
Longer term, Kleinbard suggests keeping high-dividend-paying stocks in a separate, all-cash account that has no margin loans, thus keeping the shares off-limits to shorts.
If you do wish to account for this, enter the value of the dividend payment with a negative sign on the date a stock goes ex-dividend, and add the number back in when the dividend is received.