The relevant commit here is forcing a min-height to the code mirror window for editor focus when the dialog is longer than the content in the file