work around to support embedded swal dialog