fires before file upload begins
vault.events.on("BeforeUploadFile", function(file){ console.log(file.id); return true; });
Returning false from the event handler will prevent file uploading.