I am trying to upload a workflow json and clicking on Upload a file just re-opens the workflow in another tab.

The same sort of non-working behavior shows when i try to import a workflow json from the folder view

It opens a new tab to the folder instead of an upload form.
Anyone else experiencing this?
EDIT: Found out this is particularly a Firefox bug as this does not happen in Chrome