fix delete dialog