dialog select fix