ewModel = {
            beforeStartShow: function () {
                beforeStartShowCalled = true;
            },
            beforeFooShow: function () {
                beforeFooShowCalled = true;
            },
            afterFooHide: function() {
                afterFooHideCalled = true;
            },
            afterStartHide: function() {
                afterStartHideCalled = true;
            },
            beforeFooHide: function () {
                beforeFooHideCalled = true;
            }