moving stuff around, making a common modal controller for the menu