Currently, the create branch modal uses the old deprecated modal, due to which it shows up incorrectly in the dark theme.
Migrating it to use GlModal will fix this issue.
GlModal