refactored modal dialogs for userManagement