void () { if (myModelSnapshot != null) { SearchScope scope = myScopeCombo.getSelectedScope(); if (scope != null) { myModelSnapshot.setCustomScope(scope); } myFindPopupPanel.getCanClose().set(true); } }