I have a simple form with 3 buttons depending what the user wants to do. One of the buttons is a Delete so I want to throw up a "confirm()" box when this button is pressed. I know how to do a confirm dialog if there was just one button on the form but what is the best way when there are a few buttons?.