chore(dropdown.js, modal.js): modal and dropdown on window resize bug fixed