Open file dialog when clicking the upload file button