Dialog: position type function: reset pointers