After some testing, I found out that currently '$scope.$close()' just works.
So a button is bound to the activateService() function that I have defined on the SCOPE of the modal. That function then has access to $scope.$close() which could be called when a asynchronous service call has returned.