Add return object to open() with ID and close function

While there is ngDialog.latestID (which seems to be undocumented), there didn't seem to be a good way to get the ID of a created dialog when using the service. So I added a simple return object from the `open()` method which contains the ID and a function which will close that particular dialog.