Moved Add Config Option modal to tray

This also fixes a few things.
- validation is cleaned up a bit
- the typeahead option now properly works again for sections.

Closes COUCHDB-2443
if not, we should not passing the event from handler to handler