feat(modal): Added ability to configure emulateTime for modal close