The import settings dialog is used in user data and server files tabs for all (upload) and import operations. Technically it contains information only for the import, but as far as we now have a composite operation upload+import, it is now opened also after the user selects some files for upload. Due to above reasons, this dialog renders multiple action buttons: import, cancel import, only upload and cancel upload, plus the close dialog [x] button. It appeared that some buttons appear in scenarios where they shouldn't.
How
Passed additional options to the settings dialog so that it is able to decide properly which buttons should be rendered.
Added a button cancel upload which was missing for some reason, but is allows the dialog to be closed without actually uploading the selected files.
What
Properly manage import settings dialog buttons visibility.
Why
The import settings dialog is used in user data and server files tabs for all (upload) and import operations. Technically it contains information only for the import, but as far as we now have a composite operation upload+import, it is now opened also after the user selects some files for upload. Due to above reasons, this dialog renders multiple action buttons: import, cancel import, only upload and cancel upload, plus the close dialog [x] button. It appeared that some buttons appear in scenarios where they shouldn't.
How
cancel
upload which was missing for some reason, but is allows the dialog to be closed without actually uploading the selected files.