app: remove modal_object as it is useless

There can be multiple modal object in one app. So there is no need to
record the one. Let's embrace the fully async, event-driven world.
add test_cases/modal_win