code: public static FindDialog getDialog(Window parent, boolean modal) {
  		if (parent == null) {
  			throw new IllegalArgumentException("The parent must not be null.");
  		}
  
  		FindDialog activeDialog = getParentsMap().get(parent);
  		if (activeDialog != null) {
  			activeDialog.getTxtFind().requestFocus();
  			return activeDialog;
  		}
  		FindDialog newDialog = new FindDialog(parent, modal); 
  		getParentsMap().put(parent, newDialog);
  		newDialog.addWindowListener(new WindowAdapter() {
  			@Override
  			public void windowClosed(WindowEvent e) {
  				getParentsMap().remove(parent);
  			}
  		});
  		return newDialog;
  	}
docs: Get the FindDialog for the parent if there is one or creates and returns a new one.
  
  @param parent the parent Window (or Frame) for this FindDialog
  @param modal a boolean indicating whether the FindDialog should ({@code true}),
  or shouldn't ({@code false}) be modal.
  @return The existing FindDialog for the parent (if there is one), or a new FindDialog.
  @throws IllegalArgumentException if the {@code parent} is {@code null}.
  @since 2.7.0