Added a check to make sure that a load request isn't done if the element doesn't exist. Fixes #4235.
Attach a file by drag & drop or click to upload