ng-submit for modals allowing submitting the form on enter key pressed, fixed import and upload modals, fixed #339, fixed #342