If you want to display a popup dialog in Modern UI to collect additional user input, follow the steps below.
Popup dialogs in Acumatica are usually opened by a PXFilter and a server-side action.
Example (C#):
public PXFilter<ACPRReportFilter> ACPRFilterSelect;
public IEnumerable aCPR...