safe checks for bsPanel & inlineQuestion init

fixed demo method _beforeDetailsSuccessHandler