added custom submit confirmation