gotoIf doesn't work

Hello!
I have problem with command gotoIf
Test check if panel of document form is opened or closed. If panel is closed shouldn’t skip to another step.
Test always skip to another step (click : name=status) no matter panel is closed or opened at the beginning.

Have you got idea how to solve this problem ?

MN

Ok . The problem was with locator in “StoreElementPresent” command. We found right one:
//*[@id=“genDataPanel”]/div[contains(@class,‘panel_close’)]/h3
Now “gotoIf” command works fine.