I have a ribbon with Login button, which opens the login dialog. I want to limit number of dialogs to one.
I'm using function:
displayDialogAsync(startAddress, options, callback)
All I found is:
An Office Add-in task pane can have only one dialog box open at any time. Multiple dialogs can be open at the same time from Add-in Commands (custom ribbon buttons or menu items).
But I want to use ribbon button. So is there a way to do it? (maybe global variable or smth)