ensure inspector closed when selecting to edit something else, or leave open if editing the same content type, just change the contents