Mmm I understand that you need a way to know if we have a dialog currently displayed.

Maybe replace `workingApp` by a boolean then ? `this.isSetupInProgress = true/false` ?