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

Please review @jancborchardt @karlitschek @bantu