Open and close InventoryViews outside of the InventoryClickEvent, as described in InventoryClickEvent's documentation.