Can Cjuidialog Be Automatically Refreshed Upon Submission Of Form?

Hi,

I have a form that is displayed in a cjuidialog.

Can the cjuidialog remained open while the form on the cjuidialog is sent to the controller for processing?

And after processing, can the opened cjuidialog be refreshed automatically?

I can’t seemed to find any tutorials on this and the tutorials only show that a page can be refreshed automatically not a cjuidialog. So I’m not sure if it is possible.