[WIP] Creating better controller for modals

asserts that a certain amount of assertions are run. it's useful for async tests. we don't need it in this test, i'll remove it.