Added timer to modal