updated unit tests for Button,Collapse,Dropdown,Modal
put back event defaultPrevented logic
updated component based on tests