fix dialog in ie6 bug