Dialog preview fix