Cannot reopen inventory after closing

I’ve been tinkering with an inventory system/UI menus that open and close with the same button press. They respond to the input and open, and close again correctly with the same input. However, once I’ve opened and closed it once, the input won’t respond and open it again.

What could be the cause? Maybe i need some extra node?