Changes in MyMainDialog class