Customizable behavior on submission upload