Implementation of interaction between widgets of dialog window.