This is for the Message Box extraction. ActionListener property have no public setter to override, in previous version private variable was returned by MessageBox(string title) but now we have no one. But MessageBox after returning should identify itself with the main window and have to return main window's action listener instead of any other.