[TV] Bring cancelDialogs() forward to before-quit