use ng-submit for slightly easier popover dismissal