When `submitByEnter: true` is passed as an option on ngDialog.open() it evaluates the ng-click attributes contents upon keydown of Enter(13). Making the dialog reactive to the enter button.