Comment 5 for bug 278787

Using this method will still need a function to add the confirmation dialog value to a variable and return it.
If done this way, once the user clicks "No", the confirmation dialog will not be shows at all for further clicks.