Panel: implement immediate on open and close fixes issue with close on pagehide.
Panel: open and close should always be immediate if its not in the active page otherwise transition will never complete