Fix for confirm dialog not firing on button_to_ajax