Prevent closing the create dropdown when right clicking in Firefox

Firefox sends a click event on the document when right clicking which
makes pasting with right click into the field impossible.

Fixes #5498
Merge pull request #5633 from owncloud/files-createdropdownstayswithrightclick

Prevent closing the create dropdown when right clicking in Firefox