You can add a parent box to encompass the selected element by right-click menu "Grouping" or shortcut key ⌘ + G.

Also, if you want to ungroup / leave the child box and delete only the parent box, press ⌘ + Shift + G with the parent box selected.

Did this answer your question?