A modal occupies the entire Mail app when composing a new mail
This is a feature of using Mail.app in Full Screen Mode.

To disable this behaviour, use Mail.app in non-Full Screen Mode. You can do this with the menu item: View > Exit Full Screen.