showDialog method
Calls the dialog listener and returns Dialog Completer ID.
Implementation
String showDialog(BuildContext context, UpBaseDialog dialog, {dynamic data}) {
String uuid = _createNewDialogCompleter();
if (data != null) {
dialog.show(context, uuid, data: data);
} else {
dialog.show(context, uuid);
}
return uuid; //getCompleter(uuid).future;
}