Added eventlistener to individual elementchanges
Added modifyAttr to be able to change formtype and formconfig afterwards