reordered hide button and upload operations for improved safety
Merge pull request #216 from B2SHARE/ui/reorder-operations

Reordered hide button and upload operations for improved safety