move message box for content set to main window