I have an Aura/Lightning based custom object Meeting Note record input page with Apex and JavaScript controllers. It opens correctly as a floating window when I click the Edit button, but when I click the New button it opens full screen. I need it to open as a floating window, just like when Edit is clicked. (like other tabs)
The reason I need this is that I added a Meeting Note lookup on Event. When you open an event you can click in the Meeting Note field, then click "+ New Meeting Note" which appears in the picklist. The user creates a new meeting note, and then when he clicks Save the floating new record input page closes, the event edit page appears from the background, and the newly created meeting note's name should be automatically displayed in the Event's Meeting Note lookup field. For some reason custom object tabs are full screen in Aura when creating a New record, not modal by default.