FLOE-196: First pass

Added the dialog with minimal content to the page and refactored the split the bindDialog grade into bindDialog and bindDialogToggle. Also started modifying the pouchDBDataSource to make it easier to add views declaratively.