big bug fix, dropdown would close when clicked on any input, added code in js main