add preview window