fix #1590: delete post dialog crash

This code is going to die with the new editor, so IMO, we should only assure minimum maintenance.

Note: we should remove all progress dialogs and replace them with in place progress bar / animation.