Added checkbox type and fixed event bubbling for buttons
Fixed model link with checkbox type