Add check for data to exist before opening the Timeline.