Added option for OnDismissListeners in demo
Added second activity to demo for demonstration