reenable menu input after submit/close modal