Prevent showing the file picker twice

In case the filepicker function is called twice, only show it once.
Merge pull request #9121 from owncloud/filepicker-avoidtwice

Prevent showing the file picker twice