make the modals work
merge modalmenu with legend accordion, repair conflicts