fix broken frictionless FBDialog DissmissWithError and Cancel case