Invert does not have a dialog. It instantly applies to the active layer.
When you invert a Layer, the brightness value of the pixels is converted to the inverse value on the color values scale.
Repeating invert on the same image results the original image.