android single page and alert dialog