Move all form and upload functionality into a single submitpublication widget