closing of intermediate view added