> Dragging the folder in is for when you’re operating in the Finder and another application
Not only Finder! You can hover over the filename on the top bar of any application and drag the icon from there as well. It works for any application where you have a file opened.