prototype of confirm button