Rework of dialogs to be thread safe
  EraseRecConfirmDialog
  RecBtPauseDialog