Can finally dismiss all the modals. Needs a serious cleanup.