i want my application to disallow any action outside the prompted dialog until it is either accepted to rejected.
how do i do that ?