Fixed dialog renaming master window