Refresh a dialog

Refresh a dialog

Ok, i have 2 modal dialog boxes, A and B.
A is opend and gives me a list from a DB, to edit i click a button which opens B, when edit is complet, I close B which should refresh A to give me a refresh of the DB.

Is this possible?

Prob a newbie question... sorry for that