add baseappwindow