edit dialog dropdowns
clean up js files