In the Action Toolbar click to open Primitives button and select the cube. ​
Then drag and click to place the cube. ​