A device for dispensing a material has a container for holding the material, a piston movably arranged within the container and a spindle in cooperation with the piston. The device is configured such that the spindle and the container are rotatable relative to each other to move the piston for dispensing the material. The piston and the spindle are adapted to anti-twist lock against each other in a first axial position of the piston relative to spindle. And in a second axial position of the piston relative to spindle the anti-twist lock between the piston and the spindle is suspended. The device helps minimizing any residual dental material upon attempting to empty the device.