Update ngDialog.js

if there are multiple dialogs opened it will be easy to have identity of a dialog. for eg:

$scope.$on('ngDialog.opened', function ($dialog) { 
if($dialog.name == "") { 
//do something
}
}