prototype of number pad dialog