Updated logic and UI.

Stop shooting the dialog immediately, wait for user to click
on the button.
Clear the data when going to background for now.
Update layout.