test(macModal): Add tests demonstrating premature calls to Modal callbacks.
test(macModal): Make sure afterHide test is working properly
fix(macModal): Fixed modal callbacks firing on page loads

Fixes #162