select an element, press the right mouse-button, then in the contextmenu 'new' or 'new sub'
(or press the Ins-key/ctrl-Ins-key)