[BUGFIX] open approve failed dialog properly on error response