SyntaxFix
Write A Post
Hire A Developer
Questions
The only way you can accomplish this in a cross-browser way is to use a framework like jQuery UI and create a custom Dialog:
jquery Dialog
It doesn't work in exactly the same way as the built-in confirm popup but you should be able to make it do what you want.