confirmation dialog on a submit button

You can try this:

http://javathehutt.blogspot.com/2006/07/rails-realities-part-15-ajax-
modal.html

Or there's something that was posted on errtheblog called redbox.
I've not looked at it myself.

-Michael
http://javathehutt.blogspot.com