panel state check in render in compoundDetailView