add next button fix for double submit protection