When setting the annual stock dividend, you must set it based on the dividend payout ratio (DPR). This DPR is not an easily calculated value that can be determined just by looking at existing cash, nor any other values that appear on the stock dividend page.
Would it be possible to show the cash value of the dividend payout? This would give the player an opportunity to see how much the dividend will draw down existing operating cash.