update admin modal templates (cleaned up code, functionality still the same)