Partially fix 1689282: stops the crash when clicking in timetrack dialog