Defect: whole menu being displayed after closing modals