angular-ui/bootstrap — pull request #272 by gnesher (2013-03-26 18:29:26+00:00)
Title: Set _open to false on init (Dialog)

calling $dialog.isOpen returns undefined before opening the $dialog for the first time.
Simply set the this._open var to false on init.