I am using OfficeJs to create word add-in. In that i want to show modal dialog on click on ribbon button. I have used below API
Office.context.ui.displayDialogAsync(url, {height: 30, width: 20}); to display dialog but it is non-modal dialog. Is there any API to display modal dialog using officeJS.