cache work, fix for DialogSelect