Want to add window selection preview function like this 