Updated demo with fixes for open/close methods and automatic Flyout object creation