Best approach to use Flash but to confirm deletion?

What is the best way to use Flash not to display a simple message but to ask a user to confirm yes or no to delete a record?

Flash is only for displaying messages. If you want a confirmation dialog, you can use the confirm option on the HTML helper (

Thanks so much that did the trick