"Edit mask" takes care, that all drawing tools modify the mask and not the image of a layer. You can paint in the mask, filter it, or work with the finger or the water tool. The mask is a normal gray image and can be edited the same way.