Started refactoring.
Refactoring.  Permissions bug fix on users update.
Dialog refactoring complete.