fix file saving bugs
Ticket
+status
+priority
+commit
+issues
- When there is a file plus card on a new card you often have to click "create" twice to get it to save.
- Even if no file is there, a card is created. (It shouldn't be)
+example
When I save Receipts on grasscommons.org, these two bugs really grate at me.
This also happens on icah.wagn.org when adding a file to a resource (via related tab)