ESC and Enter in adding nodes