* Do not close modal if click finishes on background
* Trap tab focus in modals, use ESC to close modal
* Fix Angular change detection errors in modals
* Reset focus on next modal after closing modal
* Minor fixes and linting
* Attach focusTrap to modal-dialog element
* Change mousedown event back to click
* Make topModal private
* Add new div for dismissing modal by clicking bg
* Focus element in modal if no autoFocus directive
* Use backdrop for dismissal
* Fix typo