Make sure that the right event type is always triggered (was causing problems with UI's event triggering).
Attach a file by drag & drop or click to upload