changed modal back to ng-cloak