catch the back event;
add the dialog of exit.