Adding listenOnSubmit and listenOnArraySubmit features

For a project I needed to add the ability to start the upload when a button has been clicked and not immediately. I've added this feature.