Fix track properties dialog to not crash when saving a track twice. Fixes Bug #1262259