added redirect statement to viewer, got rid of confirm dialog in groups