implement nested sweet-alert dialog