Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Yes, was going to say about it too - SE doesn't handle the deletion process real-time, so it would be weird if my script would, because it will lead to inconsistency.
Deleted, however, would quite difficult because the box should get the reloaded version of the page, which is quite difficult, especially in case of code golf - many resources to load. Also, how would you suppose the script to determine the deletion if there are more than 30 answers? (Maybe you can think of a different technique?) All the other points are completely valid.
That's not a bug, the box is inited once the page is loaded and not updated until you reload the page. You can post it as a feature-request in the separate answer :)