add main window fragment