Close viewers when layers removed