STUDIO-2803 fix window appears twice when change diagram name