fix scorll problem of dialog window