start of angular-foundation modal integration