fixed dialog box on user delete