chore(mac): Added internal isScope function
refactor(macModal): Add mac-modal-close to handle closing modal to remove a function used by
 modal to close. Changed mac-modal directive to use the same parent scope.
refactor(macModal): Cleaned up how scope is included with mac-modal trigger and updated how scope is created on compile