Fixed removing of timetracks in a modal.