If true, then this dialog displays an Apply button.
parameter CANCELBUTTON = 0;
If true, then this dialog displays a Cancel button.
parameter CLOSEONENTER = 1;
Allow popup to close as if clicking button "OK" when user presses the ENTER key.
Usually this parameter would be set to 1 if the dialog does not contain input fields.