Restore behaviour until c43e0fa123 and let Enter presses in multiline text controls perform their default function in the control instead of closing the dialog. Make the unit test more discerning to check for this.
c43e0fa123