[actionPrimitives]: deleteContext() called upon closure