forms: Add cancel support to upload widget