I noticed in this firefox documentation Safari 5.1 introduces support for a window.showModalDialog() function. I tried it out, and for some reason all keystrokes in form elements in the modal dialog get doubled up.
You can try it out here (Safari 5.1 or greater for Windows required): http://jsfiddle.net/RF2cV/
Any clue how to remedy this?
Thanks for your help!
Fixed by adding [return false] within document.onkeydown event.