I try to close a region (inline dialog) programmatically. Either the documentation lacks or there is just no official function to do this. I know there is an internal function "close Region" that is working but I need it programmatically and as there is such a function it somehow must be accessible that way.
I also tried to set an ID on the region and to close it by JQuery:
$('#MYREGION').hide(); -> Does only hide the body, header (with title) stays
$('#MYREGION').css('display', 'none'); -> Keeps the whole dialog but empties the body
As ppl are already asking since 2012 for this I can't find it in the documentation of Apex 19.2
So how do I properly close an inline dialog programmatically?