Sure, try the below modified .js file, which prevents the drop down menu from hiding when the user clicks on a form related element inside it.