prepare select nodes window, fix pagination issue