that is the purpose of an init event. To prepare the settings of the dialog before displaying