That is essentially the problem described in is losing your edits in a dialog boxes a bug? (see especially the comment to the original question), is it not?
The simple solution would be not to use the properties dialog but the properties view in yEd's lower right corner.