void () { GitStashUsageCollector.logStashPopDialog(!StringUtil.isEmpty(myBranchTextField.getText()), myReinstateIndexCheckBox.isSelected(), myPopStashCheckBox.isSelected()); boolean completed = GitStashOperations.unstash(myProject, getSelectedStash(), myBranchTextField.getText(), myPopStashCheckBox.isSelected(), myReinstateIndexCheckBox.isSelected()); if (completed) { super.doOKAction(); } }