Fixed modal close issue, modals now ng-repeat