add selection window and tree selection window