update dialog scale