on showing the dialog, it will bind properties from the dialog to the core dialog container