soft exit of viewer