fix: Rename dialog shows an error if canceled