title: Set property Id to a uibModal
body: <p>I would like to know if it is possible to set an Id property to a modal generated through $uibModal so later I can capture the correspondent element by its Id. I successfully managed to generate as many modals as I need although they are not uniquely identified with the following code:</p>
  
  <pre><code>    var modalInstance = $uibModal.open({
          templateUrl: 'openChat.html',
          scope: $scope,
          backdrop: 'static',
          keyboard: false,
          controller: 'openChatModalCtrl',
          windowClass: 'chat-modal',
          size: 'sm'
      }).rendered.then(function () {
          console.log('there you go!');
      });
  </code></pre>
  
  <p>Any help will be appreciated.</p>