feat(modal): pass reason when opened promise rejected

Pass rejected reason on opened promise rejected,
like $routeChangeError event on ngRoute.
Give chance to handle error depends on rejected reason on opened promise.