add dropzone object as widget property in the init function

fix: functions do not work properly if there is more than one dropzone in one page