trying to get working modal, but feeling like things are becoming cluttered.