This is something that should be controlled by the browser, the button should just be submitting the form. Have you tried this in another browser to see what the result is? What happens when you click on the button the first time?
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.