Allow the context to close any open inspector

Change-Id: I83883183117732033a8f99822d698ca18bc6f53d
Merge "Allow the context to close any open inspector"