added dialog while renaming to prevent entering incoherent states