Handle confirm handler
Modal onconfirm expects promise