Removed useless root items in EditExpressionDialog and EditStrExpressionDialog.