Fixed problem with open/close methods. Flyout automatically creates a Flyout object after loading (no need to instantiate).