Dropdown form closing bug

Fixes #17