reducing animation duration time for modal dialog events unit test