Drop the custom close button implementation in favor of the built-in one.
Attach a file by drag & drop or click to upload