InlineDialog in forge ui

Hi ,

Is there any way we can close a InlineDialogue programatically in forge api simillar to AP.inlineDialog.hide() in atlassian connect module.

Thanks

it can be manage by a state object

if (open) {
        return InlineDialogue 
    }

    return  SomethingElse