Onclick event of the alert dialog boxes, the timer gets reset.