removed onConfirm function.

we will stick with just pressing submit.