added dropdowns and off click close event
added off click event and dynamic dropdown