Don't send non docx files to the backend
As is:
If the non docx file is dropped into the drop area then it is still saved to state and then when clicked on the Moodle or Coursera button the request is sent to the backend with that file.
To-be:
The request shouldn't be sent and the "No files uploaded" warning should be shown.