beforedeactivate will fire before focusout - use that to our advantage when working with the change event.
Attach a file by drag & drop or click to upload