Add Foundation support to confirm dialog plugin