fixed dialogbox click through bug