fix #7893 always re-enabling the new name button when the new name editor is closed