convert jquery alert-confirm to bootstrap