Close task partial on delete