We have a page where a document library has been added as a web-part, where when clicking on the 'new document' link, pops up a dialog to upload a file as shown below.
How can I change it to present the options to select an options from menu as in the next image below, i.e. I would like the menu to popup where I can select to create a new Word, Excel, etc. document or create a folder?