The `isRefactoringAvailable()` method seems to be doing too much work and thus locks the UI prior to bring up the dialog.