done so the timer can be started from the modal window