Angular ui bootstrap

- all dialogs now use angular bindings
- all dialogs now reset their contents on close, fixes #4