Converted modalDialog.events unittests to BDD semantics
Converted modalDialog.history.init unittests to BDD semantics