Close menu with same button as opening

This is not working because you’re cutting Player Controller from input by setting UI mode only.