added time to modal