records start/end times when creating/closing tabs