Fixed a php notice when calling getDialogHelper.
Merge pull request #40 from reenl/fix-php-notice

Fixed a php notice when calling getDialogHelper.