fix for delete dialog (Issue #12)