There is a bug in the Docs functionality. You will not be able to attached a file to a doc when you first create it. The work-around is to create the Doc item and save it. Then, edit and attach the files you want. This bug will be fixed soon.